Apt-get install --purge


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Apt-get install --purge
# 1  
Old 03-09-2016
Apt-get install --purge

Hello,

i would like to know what is the use of that command
Code:
apt-get install --purge

I understand the use of --purge while using with remove parameter, but i don't get it when it's about installing.

Enlight me please ! Thx

---------- Post updated 09-03-16 at 11:35 AM ---------- Previous update was 08-03-16 at 12:51 PM ----------

Solved from Debian forum : forums.debian.net/viewtopic.php?f=30&t=127439&p=609963#p609963
[add https before the link cause i'm not allowed to post one yet]

apt-get install --purge will remove the configurations files of the packages that will be uninstall during the installation. For example, installing sysvinit will remove systemd. --purge remove systemd conf files.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Yum, rpm, apt-get install command not found in Solaris

I am using solaris 10 yum command not found apt-get install command not found rpm command not found how to use yum and apt-get command in solaris how to install dhcp, openldap-servers packages in solaris (4 Replies)
Discussion started by: ainstin
4 Replies

2. Shell Programming and Scripting

Menu for Purge

I have these commands that help me find and delete files over certain days. How can I build a menu to list the files, and then hit y for yes to delete or no? find /logs/212/abinitio/prod/mfs/partitions/part0/mfs_12way_001/mfs_12way/sncrpt/main/ -name "*dat" -mtime +1 -exec ls -ltr {} \; find... (3 Replies)
Discussion started by: xgringo
3 Replies

3. Emergency UNIX and Linux Support

Purge in oracle9i

From morning we are facing some issues in tablespaces in oracle9i. Tried deleting some huge records... but even thought it is still giving tablespcases in full. Then i tried and googling ... found we need to purge recyclebin of oracle.. but thats not woking in oracle9i... can any one... (1 Reply)
Discussion started by: greenworld123
1 Replies

4. Ubuntu

Using "apt-get install" in shell script

Hi, I want to install certain packages on my Ubuntu 8.04 32-bit machine. I am doing it via the following shell script. #!/bin/bash while read -r pkg do apt-get install --force-yes "$pkg" && { continue; } done < list_of_packages.txt The problem I am facing is, I am not able... (2 Replies)
Discussion started by: royalibrahim
2 Replies

5. UNIX for Dummies Questions & Answers

sudo apt-get install build-essential not working

it asks for password and then following is displayed Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package build-essential what should i do to install g++ compiler? (4 Replies)
Discussion started by: sparkle
4 Replies

6. UNIX and Linux Applications

apt-get install giving error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. https://www.unix.com/images/misc/progress.gif... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

7. UNIX for Advanced & Expert Users

apt-get install error

Hello when i am giving a command apt-get install I am getting error as below: " apt-get: error while loading shared libraries: libapt-pkg-libc6.3-6.so.3.11: cannot open shared object file: No such file or directory " can u suggest what to do. https://www.unix.com/images/misc/progress.gif... (1 Reply)
Discussion started by: pradeepreddy
1 Replies

8. Shell Programming and Scripting

script for purge

Hi , I want to purge 7 days older data from a list of data sorted on date in a log file... Can anyone provide me with the shell script for the same.. Thanks, Jaz (1 Reply)
Discussion started by: JP003
1 Replies

9. UNIX for Dummies Questions & Answers

Apt-get install

When I use apt-get install command, for example samba install, does that command then invokes search of entire disk to find samba packet or what? (1 Reply)
Discussion started by: salvor_hardin
1 Replies

10. Debian

Safe to uninstall with apt-get install?

Yesterday I incidently called apt-get with an ending "-". I noticed that I got promped if I wanted to remove the file. My question is if it's safe. I've never heard of anyone doing it so I just wanted to know. Syntax: 161659/home/riwa# apt-get install links2- Reading Package Lists... Done... (2 Replies)
Discussion started by: riwa
2 Replies
Login or Register to Ask a Question
orphaner(8)															       orphaner(8)

NAME
orphaner - frontend for deborphan SYNOPSIS
orphaner [--help|--purge] [deborphan options] DESCRIPTION
orphaner is a neat frontend for deborphan displaying a list of orphaned packages with dialog or whiptail. Packages may be selected for removal with apt-get which is then called to do the work. After removal a new list of orphaned packages is gathered from deborphan. The program ends when either `Cancel' is pressed or no package is marked for removal. After you removed a package, all new orphaned packages are shown at the top of the list separated by +++++ from the old list. Orphaner also shows two additional buttons: `Simulate' and `Help'. `Simulate' does like its name suggest only a simulation of removing and shows the result that would appear after real removing. So you can see the packages, which will become orphaned and you can select them and remove all packages with one apt-get call. `Help' shows you the status of the package given by dpkg -s. Caution: your selection will be lost. OPTIONS
--help Print a short help and exit. --skip-apt Do not call apt-get, but show apt-get command line instead. --purge Call apt-get remove with the --purge option. orphaner accepts most, but not all, options that deborphan accepts. These options are passed to deborphan unchanged, and described in deborphan's manpage. Options which are not accepted include switches to manage the keep file, and switches to change the output format. Note that switches which take an argument need to passed as one argument to orphaner. For instance to only show packages of priority optional and less important, you need to use --priority=optional (i.e. with the = sign, not with a space). SEE ALSO
deborphan(1), orphaner(8), apt-get(8) April 2004 orphaner(8)