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
APT-CUDF-GET(8) 						    DOSE Tools							   APT-CUDF-GET(8)

NAME
apt-cudf-get - wrapper for calling apt-get with external solvers SYNOPSIS
apt-cudf-get [arguments] DESCRIPTION
apt-cudf-get is a wrapper that allows to invoke apt-get with external solvers while ignoring apt's pinning. All options are passed on to apt-get. Normally, apt uses so-called pinning to select a candidate version of a package in case there are several versions available. This also holds when calling apt-get with external solvers. However, when it is not possible to find a solution under this constraint, it may be useful to relax pinning and to allow the external solver to choose among all available versions of packages in order to satisfy dependencies, not only those that are selected by the pinning. This is precisely what apt-cudf-get does. Note that, when using an external solver, the proposed solution may contain any available version of the packages that are given as arguments to install on the command line without specifying a version qualifier. For example apt-cudf-get --solver aspcud install ocaml may propose to install any available version of ocaml, while apt-cudf-get --solver aspcud install ocaml=4.01.0 will only propose to install ocaml in version 4.01.0 AUTHOR
Pietro Abate and Roberto Di Cosmo BUGS
Not all types of arguements to apt are correctly treated by this wrapper, in particular not the +pkg and -pkg shorthands for installation and removal requests. SEE ALSO
apt-get(8), apt-cudf(1), apt-cudf.conf(5), update-cudf-solvers(8), README.cudf-solvers <file:///usr/share/doc/apt-cudf/README.cudf-solvers>, README.Debian <file:///usr/share/doc/apt-cudf/README.Debian> dose3 3.0.2 2012-06-25 APT-CUDF-GET(8)