Is there any way to install a transient package?

GAD3R

Using a live linux distribution we can install some package , it is not a persistent install, the package will be removed next boot.

On a fully installed system, is there any command line tool or an apt configuration allowing a non-persistent install?

Stephen Kitt

As far as the apt side of things goes, I’m not aware of anything; in fact apt and dpkg go out of their way to ensure that the system remains in a consistent state, and that as far as possible, changes made to the package selection are “permanent” (at least until the next apt or dpkg invocation).

There is something you could do to get you part of the way: install the package, then mark it as automatically installed (apt-mark auto). That way, if nothing else depends (even weakly) on the package, it will be removed the next time you run apt autoremove.

I don’t know about “any command line tool”, but who knows, there might well be something out there. One could consider that debootstrap in a tmpfs-based chroot counts as a temporary installation, but I don’t think that’s really what you’re looking for!

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类常见问题

The best way to run npm install for nested folders?

来自分类Dev

Unable to install XML package in R on CentOS

来自分类Dev

Is there any way to call a function by another function argument?

来自分类Dev

ACTION_INSTALL_PACKAGE

来自分类Dev

Is there any way to exclude branches from showing in GitK?

来自分类Dev

Is there any way to avoid sub queries?

来自分类Dev

如何使用package.json和npm install安装bower?

来自分类Dev

Install only one package from package.json?

来自分类Dev

Check if specific form is submitted (in any way)

来自分类Dev

package.json与“ npm install%s -g”

来自分类Dev

Is there any way to prevent page load of images with javascript?

来自分类Dev

Any way to parse Less in .net?

来自分类Dev

Is there any way to find out the tables relationship?

来自分类Dev

Unable to install cachem package for R

来自分类Dev

Trouble installing an R package using R CMD install

来自分类Dev

@JsonIgnore与@Transient-差异?

来自分类Dev

Is there any way to create rounded corners for SVG ARC?

来自分类Dev

npm install与编辑package.json和npm更新

来自分类Dev

Install local dist package into virtualenv

来自分类Dev

How to package and install Windows 10 application on other computers

来自分类Dev

“ npm install [package]”不会更新package.json

来自分类Dev

How can i install twilio package via pip?

来自分类Dev

Failure to install any updates (problems with apport and insserv)

来自分类Dev

'pip install <package>'和'python -m pip install <package>'有什么区别?

来自分类Dev

npm install无法读取package.json

来自分类Dev

package.json与“ npm install%s -g”

来自分类Dev

Any way to interpret pstree?

来自分类Dev

Is there any simple printer I can install on WINE?

来自分类Dev

生成 ConstraintViolationException 的 @Transient 属性

Related 相关文章

热门标签

归档