Source: see the Debian handbook for more information on aptitude.įor another essential explanation of aptitude and its other useful commands, see man aptitude or the Ubuntu manpages online. Htop will be removed and grsync installed. However, on the other hand, if you use sudo aptitude remove grsync+ htop If you enter sudo aptitude install cheese gthumb-Ĭheese will be installed while gthumb will be removed. With aptitude install commands add - after the package name to have it removed, and with aptitude remove commands add + after the package name to have it installed. However, beyond the standard basic usage of searching, removing, and installing packages, aptitude can install and remove packages with one command. Then to install it use sudo aptitude install cheese Then to show all the package information concerning versions and dependencies, type aptitude show cheese To search for a package, use aptitude search cheese ( Before using any of the aptitude install commands in this article it is worth running sudo aptitude update to refresh the list of available software.) I usually use the latter method, as I'll demonstrate using the example of the cheese package: A process may change the file mode creation mask with umask and the new value is inherited by child processes. With aptitude you can use the ncurses based console in the terminal (see the other answers for that) or use all of its options on the command line. umask (user mask) is a command and a function in POSIX environments that sets the file mode creation mask of the current process which limits the permission modes for files and directories created by the process. To search packages: aptitude search package nameįor example, let's say you want to install Pidgin For example, the command umask a Sets the file creation mask so that new files are inaccessible to everyone. To install a package on a console run: aptitude install package name G again goes ahead with pending actions Using aptitude from the command line like apt-get You can easily use 'Cancel pending actions' in the 'Actions' menu so that you can re-select.Ī explicitly accepts an action (use again to unaccept) Some time when you need to resolve conflicts, you discover that you made a mistake press g (again, to start the download).press g (to see the pending actions and modify if needed).(search/select some stuff to install, is optional).a list of packages on hold in the same way as for the other show commands. press U (Mark all upgradable packages to be upgraded) The command is only a wrapper around dpkg -set-selections and the state is.press u (update the lists of available packages).The common use of aptitude in TUI (text user interface) is: Q to quit – this will also close the currently open window ( g goes forward, q goes back) Use + or - to install, update, or remove a package Use 'up' ↑, 'down' ↓, 'left' ←, 'right' →, to navigate. After running aptitude, use these key commands as found at Using aptitude GUI style: (If you use Bionic, use CTRL+T instead of F10)
0 Comments
Leave a Reply. |