[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

aptitude and apt-get to apt



Attached is a patch for the Installation Guide.

Aptitude is not used a lot in the guide already, and apt comes
preinstalled in a Debian system. I also converted apt-get to apt in that
file.

Let me know if you have any questions.

Simon Quigley
tsimonq2@ubuntu.com
tsimonq2 on Freenode, OFTC
Index: manual/en/appendix/chroot-install.xml
===================================================================
--- manual/en/appendix/chroot-install.xml	(revision 70186)
+++ manual/en/appendix/chroot-install.xml	(working copy)
@@ -238,7 +238,7 @@
 install the makedev package, and create a default set of static device files
 using (after chrooting)
 <informalexample><screen>
-# apt-get install makedev
+# apt install makedev
 # mount none /proc -t proc
 # cd /dev
 # MAKEDEV generic
@@ -468,7 +468,7 @@
 deb-src http://security.debian.org/ &releasename;/updates main
 </screen></informalexample>
 
-Make sure to run <userinput>aptitude update</userinput> after you have
+Make sure to run <userinput>apt update</userinput> after you have
 made changes to the sources list.
 
 </para>
@@ -483,7 +483,7 @@
 and configure it. Currently the use of UTF-8 locales is recommended.
 
 <informalexample><screen>
-# aptitude install locales
+# apt install locales
 # dpkg-reconfigure locales
 </screen></informalexample>
 
@@ -490,7 +490,7 @@
 To configure your keyboard (if needed):
 
 <informalexample><screen>
-# aptitude install console-setup
+# apt install console-setup
 # dpkg-reconfigure keyboard-configuration 
 </screen></informalexample>
 
@@ -519,7 +519,7 @@
 Then install the kernel package of your choice using its package name.
 
 <informalexample><screen>
-# aptitude install &kernelpackage;-<replaceable>arch-etc</replaceable>
+# apt install &kernelpackage;-<replaceable>arch-etc</replaceable>
 </screen></informalexample>
 
 </para>
@@ -532,7 +532,7 @@
 To make your &debian-gnu; system bootable, set up your boot loader to load
 the installed kernel with your new root partition. Note that
 <command>debootstrap</command> does not install a boot loader, though you
-can use <command>aptitude</command> inside your &debian; chroot to do so.
+can use <command>apt</command> inside your &debian; chroot to do so.
 
 </para><para arch="any-x86">
 
@@ -551,7 +551,7 @@
 Installing and setting up <classname>grub2</classname> is as easy as:
 
 <informalexample><screen>
-# aptitude install grub-pc
+# apt install grub-pc
 # grub-install /dev/<replaceable>sda</replaceable>
 # update-grub
 </screen></informalexample>
@@ -621,7 +621,7 @@
 SSH and set up access.
 
 <informalexample><screen>
-# aptitude install ssh
+# apt install ssh
 </screen></informalexample>
 
 
@@ -669,7 +669,7 @@
 # tasksel install standard
 </screen></informalexample>
 
-Of course, you can also just use <command>aptitude</command> to install
+Of course, you can also just use <command>apt</command> to install
 packages individually.
 
 </para><para>
@@ -679,7 +679,7 @@
 diskspace by running:
 
 <informalexample><screen>
-# aptitude clean
+# apt clean
 </screen></informalexample>
 
 </para>

Reply to: