Temporary package installationOctave package installation: “couldn't create installation...
Word for an event that will likely never happen again
Should I leave building the database for the end?
Installing Windows to flash UEFI/ BIOS, then reinstalling Ubuntu
A torrent of foreign terms
What is the hottest thing in the universe?
Luggage Storage at Szechenyi Baths
Swap (and hibernation) on SSD in 2019?
Locked Room Murder!! How and who?
Graphs for which a calculus student can reasonably compute the arclength
Are employers legally allowed to pay employees in goods and services equal to or greater than the minimum wage?
Why is the result of ('b'+'a'+ + 'a' + 'a').toLowerCase() 'banana'?
Big number puzzle
What is the たんだ in と思ってたんだ for the sentence in question?
Why does the cable resistance jump from a low value to high value at a particular frequency?
Does an Irish VISA WARNING count as "refused entry at the border of any country other than the UK?"
How was the murder committed?
Did Pope Urban II issue the papal bull "terra nullius" in 1095?
What would it take to get a message to another star?
How do some PhD students get 10+ papers? Is that what I need for landing good faculty position?
Should I email my professor about a recommendation letter if he has offered me a job?
NRPE script for monitoring load average
Why is the second S silent in "Sens dessus dessous"?
Are there examples in Tanach of 3 or more parties having an ongoing conversation?
Is this n-speak?
Temporary package installation
Octave package installation: “couldn't create installation directory”Install recommended packages of an already installed package with aptGimp misses libraries after installing a compiled version and removing the packageUpdate and Package Installation impossible: E: Unable to locate package! Linux Mint 17.3Why I cannot purge mono-devel on Ubuntu Linux 16.04?What's the regex in this package installation?How does the purge command know where to look to delete package config files?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it.
For example, I might install graphic design packages with:
apt-get install inkscape gimp
and mathematics packages with:
apt-get install texlive-full gnuplot
I could use virtual machines for each set of packages (math
or design
), but it seems like overkill (I do not needed the added security/computational costs).
I could also use apt list --installed
and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot
(but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
software-installation package-management
add a comment |
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it.
For example, I might install graphic design packages with:
apt-get install inkscape gimp
and mathematics packages with:
apt-get install texlive-full gnuplot
I could use virtual machines for each set of packages (math
or design
), but it seems like overkill (I do not needed the added security/computational costs).
I could also use apt list --installed
and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot
(but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
software-installation package-management
add a comment |
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it.
For example, I might install graphic design packages with:
apt-get install inkscape gimp
and mathematics packages with:
apt-get install texlive-full gnuplot
I could use virtual machines for each set of packages (math
or design
), but it seems like overkill (I do not needed the added security/computational costs).
I could also use apt list --installed
and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot
(but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
software-installation package-management
How can I install some packages temporarily and easily remove them when unwanted several months/years later? The reason for this is that I like to extensively test software before deciding whether to keep it or remove it.
For example, I might install graphic design packages with:
apt-get install inkscape gimp
and mathematics packages with:
apt-get install texlive-full gnuplot
I could use virtual machines for each set of packages (math
or design
), but it seems like overkill (I do not needed the added security/computational costs).
I could also use apt list --installed
and remove the packages I do not need with (for example) apt-get purge texlive-full gnuplot
(but this requires me to remember which set of packages I installed - I will always remove the full set at a time and never individual packages in a set).
software-installation package-management
software-installation package-management
edited 16 hours ago
wjwrpoyob
asked 17 hours ago
wjwrpoyobwjwrpoyob
205 bronze badges
205 bronze badges
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
It depends on what is the reason for "removing" the package/s.
You may want: (1) a clean environment, (2) save space (, (3) etc.?)
If you are interested in (1), I list a few alternatives I have used to various degrees (including None):
The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.
Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.
There are a number of tools based on modules, listed also below.Flavours is a wrapper built on top of Modules C-version to simplify the organization and presentation of software that requiring multiple builds against different compilers, MPI libraries, processor architectures, etc.
Software Collections is a Red Hat project that enables you to build and concurrently install multiple RPM versions of the same components on your system, without impacting the system versions of the RPM packages installed from your distribution. Once installed a software collection is enabled with the scl command that relies on Modules for the user environment setup.
Since you mentionapt
, this may not be useful for you.
I googled a little, and it seems to be not available for Debian.
https://lists.debian.org/debian-user/2017/02/msg00461.htmlThe OSCAR Cluster Project uses modules along with a tool called switcher.
I am not certain what is the current status of development and maintenance.
See also https://github.com/oscar-clusterFlatpak, but as per this I do not know if it is as versatile as Software Collections.
If you are interested in (2), which I guess it not the case since your objection against a VM was it being an overkill and not the space taken, I guess you are bound to install/remove.
I do not know of any package that administrates install/remove in package bundles.
add a comment |
apt-get autoremove
will remove packages that were installed automatically to satisfy dependencies of another package IF there are no installed packages depending on them.
For example:
# apt-get install inkscape gimp
will install inkscape and gimp and all libraries and other packages that they have listed in a Depends:
or Recommends:
(*) line.
# apt-get remove inkscape gimp
# apt-get autoremove
will remove both of those packages and all automatically installed dependencies (unless some other package you installed later also depends on them). It will remove ALL auto-installed packages that are no longer needed to satisfy a dependency, not just those automatically installed for inkscape or gimp.
or, to purge them instead of just removing them:
# apt-get purge inkscape gimp
# apt-get --purge autoremove
If you want to keep a package that was auto-installed, you can use apt-mark
to mark it as manually installed. e.g.
# apt-mark manual some-package(s)
You can also mark a package that was manually installed as auto with:
# apt-mark auto some-package(s)
(*) By default, apt will automatically install packages that are listed in either a Depends:
line OR a Recommends:
line, but auto-installation of Recommended packages can be disabled by setting APT { Install-Recommends "False";};
in /etc/apt/apt.conf
or a file in /etc/apt/apt.conf.d/
.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535478%2ftemporary-package-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
It depends on what is the reason for "removing" the package/s.
You may want: (1) a clean environment, (2) save space (, (3) etc.?)
If you are interested in (1), I list a few alternatives I have used to various degrees (including None):
The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.
Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.
There are a number of tools based on modules, listed also below.Flavours is a wrapper built on top of Modules C-version to simplify the organization and presentation of software that requiring multiple builds against different compilers, MPI libraries, processor architectures, etc.
Software Collections is a Red Hat project that enables you to build and concurrently install multiple RPM versions of the same components on your system, without impacting the system versions of the RPM packages installed from your distribution. Once installed a software collection is enabled with the scl command that relies on Modules for the user environment setup.
Since you mentionapt
, this may not be useful for you.
I googled a little, and it seems to be not available for Debian.
https://lists.debian.org/debian-user/2017/02/msg00461.htmlThe OSCAR Cluster Project uses modules along with a tool called switcher.
I am not certain what is the current status of development and maintenance.
See also https://github.com/oscar-clusterFlatpak, but as per this I do not know if it is as versatile as Software Collections.
If you are interested in (2), which I guess it not the case since your objection against a VM was it being an overkill and not the space taken, I guess you are bound to install/remove.
I do not know of any package that administrates install/remove in package bundles.
add a comment |
It depends on what is the reason for "removing" the package/s.
You may want: (1) a clean environment, (2) save space (, (3) etc.?)
If you are interested in (1), I list a few alternatives I have used to various degrees (including None):
The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.
Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.
There are a number of tools based on modules, listed also below.Flavours is a wrapper built on top of Modules C-version to simplify the organization and presentation of software that requiring multiple builds against different compilers, MPI libraries, processor architectures, etc.
Software Collections is a Red Hat project that enables you to build and concurrently install multiple RPM versions of the same components on your system, without impacting the system versions of the RPM packages installed from your distribution. Once installed a software collection is enabled with the scl command that relies on Modules for the user environment setup.
Since you mentionapt
, this may not be useful for you.
I googled a little, and it seems to be not available for Debian.
https://lists.debian.org/debian-user/2017/02/msg00461.htmlThe OSCAR Cluster Project uses modules along with a tool called switcher.
I am not certain what is the current status of development and maintenance.
See also https://github.com/oscar-clusterFlatpak, but as per this I do not know if it is as versatile as Software Collections.
If you are interested in (2), which I guess it not the case since your objection against a VM was it being an overkill and not the space taken, I guess you are bound to install/remove.
I do not know of any package that administrates install/remove in package bundles.
add a comment |
It depends on what is the reason for "removing" the package/s.
You may want: (1) a clean environment, (2) save space (, (3) etc.?)
If you are interested in (1), I list a few alternatives I have used to various degrees (including None):
The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.
Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.
There are a number of tools based on modules, listed also below.Flavours is a wrapper built on top of Modules C-version to simplify the organization and presentation of software that requiring multiple builds against different compilers, MPI libraries, processor architectures, etc.
Software Collections is a Red Hat project that enables you to build and concurrently install multiple RPM versions of the same components on your system, without impacting the system versions of the RPM packages installed from your distribution. Once installed a software collection is enabled with the scl command that relies on Modules for the user environment setup.
Since you mentionapt
, this may not be useful for you.
I googled a little, and it seems to be not available for Debian.
https://lists.debian.org/debian-user/2017/02/msg00461.htmlThe OSCAR Cluster Project uses modules along with a tool called switcher.
I am not certain what is the current status of development and maintenance.
See also https://github.com/oscar-clusterFlatpak, but as per this I do not know if it is as versatile as Software Collections.
If you are interested in (2), which I guess it not the case since your objection against a VM was it being an overkill and not the space taken, I guess you are bound to install/remove.
I do not know of any package that administrates install/remove in package bundles.
It depends on what is the reason for "removing" the package/s.
You may want: (1) a clean environment, (2) save space (, (3) etc.?)
If you are interested in (1), I list a few alternatives I have used to various degrees (including None):
The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.
Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.
There are a number of tools based on modules, listed also below.Flavours is a wrapper built on top of Modules C-version to simplify the organization and presentation of software that requiring multiple builds against different compilers, MPI libraries, processor architectures, etc.
Software Collections is a Red Hat project that enables you to build and concurrently install multiple RPM versions of the same components on your system, without impacting the system versions of the RPM packages installed from your distribution. Once installed a software collection is enabled with the scl command that relies on Modules for the user environment setup.
Since you mentionapt
, this may not be useful for you.
I googled a little, and it seems to be not available for Debian.
https://lists.debian.org/debian-user/2017/02/msg00461.htmlThe OSCAR Cluster Project uses modules along with a tool called switcher.
I am not certain what is the current status of development and maintenance.
See also https://github.com/oscar-clusterFlatpak, but as per this I do not know if it is as versatile as Software Collections.
If you are interested in (2), which I guess it not the case since your objection against a VM was it being an overkill and not the space taken, I guess you are bound to install/remove.
I do not know of any package that administrates install/remove in package bundles.
answered 16 hours ago
sancho.ssancho.s
4213 silver badges10 bronze badges
4213 silver badges10 bronze badges
add a comment |
add a comment |
apt-get autoremove
will remove packages that were installed automatically to satisfy dependencies of another package IF there are no installed packages depending on them.
For example:
# apt-get install inkscape gimp
will install inkscape and gimp and all libraries and other packages that they have listed in a Depends:
or Recommends:
(*) line.
# apt-get remove inkscape gimp
# apt-get autoremove
will remove both of those packages and all automatically installed dependencies (unless some other package you installed later also depends on them). It will remove ALL auto-installed packages that are no longer needed to satisfy a dependency, not just those automatically installed for inkscape or gimp.
or, to purge them instead of just removing them:
# apt-get purge inkscape gimp
# apt-get --purge autoremove
If you want to keep a package that was auto-installed, you can use apt-mark
to mark it as manually installed. e.g.
# apt-mark manual some-package(s)
You can also mark a package that was manually installed as auto with:
# apt-mark auto some-package(s)
(*) By default, apt will automatically install packages that are listed in either a Depends:
line OR a Recommends:
line, but auto-installation of Recommended packages can be disabled by setting APT { Install-Recommends "False";};
in /etc/apt/apt.conf
or a file in /etc/apt/apt.conf.d/
.
add a comment |
apt-get autoremove
will remove packages that were installed automatically to satisfy dependencies of another package IF there are no installed packages depending on them.
For example:
# apt-get install inkscape gimp
will install inkscape and gimp and all libraries and other packages that they have listed in a Depends:
or Recommends:
(*) line.
# apt-get remove inkscape gimp
# apt-get autoremove
will remove both of those packages and all automatically installed dependencies (unless some other package you installed later also depends on them). It will remove ALL auto-installed packages that are no longer needed to satisfy a dependency, not just those automatically installed for inkscape or gimp.
or, to purge them instead of just removing them:
# apt-get purge inkscape gimp
# apt-get --purge autoremove
If you want to keep a package that was auto-installed, you can use apt-mark
to mark it as manually installed. e.g.
# apt-mark manual some-package(s)
You can also mark a package that was manually installed as auto with:
# apt-mark auto some-package(s)
(*) By default, apt will automatically install packages that are listed in either a Depends:
line OR a Recommends:
line, but auto-installation of Recommended packages can be disabled by setting APT { Install-Recommends "False";};
in /etc/apt/apt.conf
or a file in /etc/apt/apt.conf.d/
.
add a comment |
apt-get autoremove
will remove packages that were installed automatically to satisfy dependencies of another package IF there are no installed packages depending on them.
For example:
# apt-get install inkscape gimp
will install inkscape and gimp and all libraries and other packages that they have listed in a Depends:
or Recommends:
(*) line.
# apt-get remove inkscape gimp
# apt-get autoremove
will remove both of those packages and all automatically installed dependencies (unless some other package you installed later also depends on them). It will remove ALL auto-installed packages that are no longer needed to satisfy a dependency, not just those automatically installed for inkscape or gimp.
or, to purge them instead of just removing them:
# apt-get purge inkscape gimp
# apt-get --purge autoremove
If you want to keep a package that was auto-installed, you can use apt-mark
to mark it as manually installed. e.g.
# apt-mark manual some-package(s)
You can also mark a package that was manually installed as auto with:
# apt-mark auto some-package(s)
(*) By default, apt will automatically install packages that are listed in either a Depends:
line OR a Recommends:
line, but auto-installation of Recommended packages can be disabled by setting APT { Install-Recommends "False";};
in /etc/apt/apt.conf
or a file in /etc/apt/apt.conf.d/
.
apt-get autoremove
will remove packages that were installed automatically to satisfy dependencies of another package IF there are no installed packages depending on them.
For example:
# apt-get install inkscape gimp
will install inkscape and gimp and all libraries and other packages that they have listed in a Depends:
or Recommends:
(*) line.
# apt-get remove inkscape gimp
# apt-get autoremove
will remove both of those packages and all automatically installed dependencies (unless some other package you installed later also depends on them). It will remove ALL auto-installed packages that are no longer needed to satisfy a dependency, not just those automatically installed for inkscape or gimp.
or, to purge them instead of just removing them:
# apt-get purge inkscape gimp
# apt-get --purge autoremove
If you want to keep a package that was auto-installed, you can use apt-mark
to mark it as manually installed. e.g.
# apt-mark manual some-package(s)
You can also mark a package that was manually installed as auto with:
# apt-mark auto some-package(s)
(*) By default, apt will automatically install packages that are listed in either a Depends:
line OR a Recommends:
line, but auto-installation of Recommended packages can be disabled by setting APT { Install-Recommends "False";};
in /etc/apt/apt.conf
or a file in /etc/apt/apt.conf.d/
.
answered 16 hours ago
cascas
41.2k4 gold badges59 silver badges110 bronze badges
41.2k4 gold badges59 silver badges110 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f535478%2ftemporary-package-installation%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown