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
DI-NETBOOT-ASSISTANT(1) 					   User Commands					   DI-NETBOOT-ASSISTANT(1)

NAME
di-netboot-assistant - Debian-Installer netboot assistant SYNOPSIS
di-netboot-assistant [-hv] [--verbose] [--offline] {[install image...] | [purge image...] | [rebuild-menu] } [--arch=arch] DESCRIPTION
di-netboot-assistant is a simple tool to download and extract latest debian installer netboot images. Unless the -h, --help, -v, or --version option is given, one of the commands below must be present. install install is followed by a repository name desired for installation. The repository name has to be one of those declared in /etc/di- netboot-assistant/di-sources.list. The image will be installed/extracted in the default location (declared in /etc/di-netboot- assistant/di-netboot-assistant.conf). purge purge will remove a previously installed d-i netboot image, according to the image name specified. OPTIONS
rebuild-menu rebuild-menu will rebuild the to level menu. It's only usefull if you have installed some client images that have such top level menu (like i386, amd64 and ia64). This command takes no argument. -h, --help Print this message and exit -v, --version Print script version and exit --arch=arch Specify the architecture you want to install or purge. The architecture you can use for the install action must be declared in /etc/di-netboot-assistant/di-sources.list. The architecture you can use for purge action in one of those you previously installed ! The usable architectures can be listed by leaving --arch= empty. The default architecture is the current one (as reported by dpkg's APT::Architecture). --verbose Verbose messages --offline Don't download the file (simply re-extract and build menu) PROXY
di-netboot-assistant uses wget or curl to actually download the files. You can set the environnement variables accordingly. AUTHOR
di-netboot-assistant was written by Frank Lin PIAT <fpiat@klabs.be>. Franklin Piat May 2008 DI-NETBOOT-ASSISTANT(1)