Migrate packages from one fedora system to other
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Currently, I am using Fedora 26 for my daily use.
I want to transfer all the packages which I have installed with command
sudo dnf install
to another fedora desktop (as it doesn't have access to internet).
fedora dnf cloning
add a comment |Â
up vote
0
down vote
favorite
Currently, I am using Fedora 26 for my daily use.
I want to transfer all the packages which I have installed with command
sudo dnf install
to another fedora desktop (as it doesn't have access to internet).
fedora dnf cloning
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Currently, I am using Fedora 26 for my daily use.
I want to transfer all the packages which I have installed with command
sudo dnf install
to another fedora desktop (as it doesn't have access to internet).
fedora dnf cloning
Currently, I am using Fedora 26 for my daily use.
I want to transfer all the packages which I have installed with command
sudo dnf install
to another fedora desktop (as it doesn't have access to internet).
fedora dnf cloning
edited Aug 20 at 22:43
Rui F Ribeiro
35.3k1270113
35.3k1270113
asked Jan 14 at 8:50
Nikhil Padole
33
33
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
accepted
A simple way is using the "--downloadonly" option :
sudo dnf --downloadonly install <whatever>
this downloads the rpm package(s) and also its/their dependencies as needed for on the desktop that has internet access (let's call it "computer-A"),
then transfer the rpms to other system (computer-B) and
sudo dnf install *.rpm
Note: if computer-B is missing some packages compared to computer-A, you may need to iterate in downloading rpms. In such case, "dnf download" command might be more appropriate to get missing rpms for computer-B (see https://dnf-plugins-core.readthedocs.io/en/latest/download.html).
An alternative is to set "keepcache=1" in /etc/dnf/dnf.conf in computer-A, and simply run 'dnf install ': this will retain installed packages files in computer-A, that you'll find rpm files in /var/cache/dnf/... Note that this doesn't resolve the case where computer-B is missing packages compared to computer-A.
Another alternative is to create a local repository : see https://www.techrepublic.com/blog/linux-and-open-source/create-your-own-yum-repository/ (this is for yum but applies also for dnf).
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
A simple way is using the "--downloadonly" option :
sudo dnf --downloadonly install <whatever>
this downloads the rpm package(s) and also its/their dependencies as needed for on the desktop that has internet access (let's call it "computer-A"),
then transfer the rpms to other system (computer-B) and
sudo dnf install *.rpm
Note: if computer-B is missing some packages compared to computer-A, you may need to iterate in downloading rpms. In such case, "dnf download" command might be more appropriate to get missing rpms for computer-B (see https://dnf-plugins-core.readthedocs.io/en/latest/download.html).
An alternative is to set "keepcache=1" in /etc/dnf/dnf.conf in computer-A, and simply run 'dnf install ': this will retain installed packages files in computer-A, that you'll find rpm files in /var/cache/dnf/... Note that this doesn't resolve the case where computer-B is missing packages compared to computer-A.
Another alternative is to create a local repository : see https://www.techrepublic.com/blog/linux-and-open-source/create-your-own-yum-repository/ (this is for yum but applies also for dnf).
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
add a comment |Â
up vote
0
down vote
accepted
A simple way is using the "--downloadonly" option :
sudo dnf --downloadonly install <whatever>
this downloads the rpm package(s) and also its/their dependencies as needed for on the desktop that has internet access (let's call it "computer-A"),
then transfer the rpms to other system (computer-B) and
sudo dnf install *.rpm
Note: if computer-B is missing some packages compared to computer-A, you may need to iterate in downloading rpms. In such case, "dnf download" command might be more appropriate to get missing rpms for computer-B (see https://dnf-plugins-core.readthedocs.io/en/latest/download.html).
An alternative is to set "keepcache=1" in /etc/dnf/dnf.conf in computer-A, and simply run 'dnf install ': this will retain installed packages files in computer-A, that you'll find rpm files in /var/cache/dnf/... Note that this doesn't resolve the case where computer-B is missing packages compared to computer-A.
Another alternative is to create a local repository : see https://www.techrepublic.com/blog/linux-and-open-source/create-your-own-yum-repository/ (this is for yum but applies also for dnf).
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
add a comment |Â
up vote
0
down vote
accepted
up vote
0
down vote
accepted
A simple way is using the "--downloadonly" option :
sudo dnf --downloadonly install <whatever>
this downloads the rpm package(s) and also its/their dependencies as needed for on the desktop that has internet access (let's call it "computer-A"),
then transfer the rpms to other system (computer-B) and
sudo dnf install *.rpm
Note: if computer-B is missing some packages compared to computer-A, you may need to iterate in downloading rpms. In such case, "dnf download" command might be more appropriate to get missing rpms for computer-B (see https://dnf-plugins-core.readthedocs.io/en/latest/download.html).
An alternative is to set "keepcache=1" in /etc/dnf/dnf.conf in computer-A, and simply run 'dnf install ': this will retain installed packages files in computer-A, that you'll find rpm files in /var/cache/dnf/... Note that this doesn't resolve the case where computer-B is missing packages compared to computer-A.
Another alternative is to create a local repository : see https://www.techrepublic.com/blog/linux-and-open-source/create-your-own-yum-repository/ (this is for yum but applies also for dnf).
A simple way is using the "--downloadonly" option :
sudo dnf --downloadonly install <whatever>
this downloads the rpm package(s) and also its/their dependencies as needed for on the desktop that has internet access (let's call it "computer-A"),
then transfer the rpms to other system (computer-B) and
sudo dnf install *.rpm
Note: if computer-B is missing some packages compared to computer-A, you may need to iterate in downloading rpms. In such case, "dnf download" command might be more appropriate to get missing rpms for computer-B (see https://dnf-plugins-core.readthedocs.io/en/latest/download.html).
An alternative is to set "keepcache=1" in /etc/dnf/dnf.conf in computer-A, and simply run 'dnf install ': this will retain installed packages files in computer-A, that you'll find rpm files in /var/cache/dnf/... Note that this doesn't resolve the case where computer-B is missing packages compared to computer-A.
Another alternative is to create a local repository : see https://www.techrepublic.com/blog/linux-and-open-source/create-your-own-yum-repository/ (this is for yum but applies also for dnf).
edited Aug 26 at 14:10
answered Jan 14 at 9:53
tonioc
1,12457
1,12457
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
add a comment |Â
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
And how to manage dependencies for that package
â Nikhil Padole
Aug 26 at 7:57
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
Hi, take a look at edited answer with some more elements.
â tonioc
Aug 26 at 14:10
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416988%2fmigrate-packages-from-one-fedora-system-to-other%23new-answer', 'question_page');
);
Post as a guest
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
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
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