How I can install build-essential in a PC without Internet Connection?
I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
installation git-buildpackage
add a comment |
I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
installation git-buildpackage
3
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12
add a comment |
I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
installation git-buildpackage
I need to download that package from another PC with Internet and after install it on the Linux PC.
There's any way? Thanks!
installation git-buildpackage
installation git-buildpackage
asked Oct 19 '13 at 18:39
SergioSergio
1516
1516
3
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12
add a comment |
3
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12
3
3
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12
add a comment |
1 Answer
1
active
oldest
votes
On the Internet-less computer:
- Open the Unity Dash, type "Terminal" and press enter
- In the new window enter
PACKAGENAME=<The name of the Package to install>
and press enter - The enter this:
apt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget "http://archive.ubuntu.com/ubuntu/${filepath}""; done >downloader.sh
- A ready-to-use downloader for the package has now been created in you home folder
- Open your home directory in the file browser and move the file
downloader.sh
to the top-level directory of your flash drive - Eject your flash drive
On the computer with Internet:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sh downloader.sh
and press enter - Wait for the download to complete
- Eject your flash drive
Back to the Internet-less computer:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sudo dpkg --install *.deb
and press enter - Wait for the package to install
Note: This will only work with packages for the Ubuntu archive!
1
Without the Internet connection available at the moment of executingapt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.
– melvynkim
Dec 21 '13 at 21:28
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
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: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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%2faskubuntu.com%2fquestions%2f362009%2fhow-i-can-install-build-essential-in-a-pc-without-internet-connection%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
On the Internet-less computer:
- Open the Unity Dash, type "Terminal" and press enter
- In the new window enter
PACKAGENAME=<The name of the Package to install>
and press enter - The enter this:
apt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget "http://archive.ubuntu.com/ubuntu/${filepath}""; done >downloader.sh
- A ready-to-use downloader for the package has now been created in you home folder
- Open your home directory in the file browser and move the file
downloader.sh
to the top-level directory of your flash drive - Eject your flash drive
On the computer with Internet:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sh downloader.sh
and press enter - Wait for the download to complete
- Eject your flash drive
Back to the Internet-less computer:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sudo dpkg --install *.deb
and press enter - Wait for the package to install
Note: This will only work with packages for the Ubuntu archive!
1
Without the Internet connection available at the moment of executingapt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.
– melvynkim
Dec 21 '13 at 21:28
add a comment |
On the Internet-less computer:
- Open the Unity Dash, type "Terminal" and press enter
- In the new window enter
PACKAGENAME=<The name of the Package to install>
and press enter - The enter this:
apt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget "http://archive.ubuntu.com/ubuntu/${filepath}""; done >downloader.sh
- A ready-to-use downloader for the package has now been created in you home folder
- Open your home directory in the file browser and move the file
downloader.sh
to the top-level directory of your flash drive - Eject your flash drive
On the computer with Internet:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sh downloader.sh
and press enter - Wait for the download to complete
- Eject your flash drive
Back to the Internet-less computer:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sudo dpkg --install *.deb
and press enter - Wait for the package to install
Note: This will only work with packages for the Ubuntu archive!
1
Without the Internet connection available at the moment of executingapt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.
– melvynkim
Dec 21 '13 at 21:28
add a comment |
On the Internet-less computer:
- Open the Unity Dash, type "Terminal" and press enter
- In the new window enter
PACKAGENAME=<The name of the Package to install>
and press enter - The enter this:
apt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget "http://archive.ubuntu.com/ubuntu/${filepath}""; done >downloader.sh
- A ready-to-use downloader for the package has now been created in you home folder
- Open your home directory in the file browser and move the file
downloader.sh
to the top-level directory of your flash drive - Eject your flash drive
On the computer with Internet:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sh downloader.sh
and press enter - Wait for the download to complete
- Eject your flash drive
Back to the Internet-less computer:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sudo dpkg --install *.deb
and press enter - Wait for the package to install
Note: This will only work with packages for the Ubuntu archive!
On the Internet-less computer:
- Open the Unity Dash, type "Terminal" and press enter
- In the new window enter
PACKAGENAME=<The name of the Package to install>
and press enter - The enter this:
apt-get -qqs install $PACKAGENAME | grep Inst | awk '{print $2}' | xargs apt-cache show | grep 'Filename: ' | awk '{print $2}' | while read filepath; do echo "wget "http://archive.ubuntu.com/ubuntu/${filepath}""; done >downloader.sh
- A ready-to-use downloader for the package has now been created in you home folder
- Open your home directory in the file browser and move the file
downloader.sh
to the top-level directory of your flash drive - Eject your flash drive
On the computer with Internet:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sh downloader.sh
and press enter - Wait for the download to complete
- Eject your flash drive
Back to the Internet-less computer:
- Open the flash drive in a terminal:
- Insert your flash drive
- Open your flash drive in the file browser
- Type
<Ctrl>L
and then<Ctrl>C
(This will copy the location of your flash drive) - Open the Unity Dash, type "Terminal" and press enter
- In the Terminal type this:
cd <Ctrl><Shift>V<Enter>
(This will move you to the directory of the flash drive)
- Type
sudo dpkg --install *.deb
and press enter - Wait for the package to install
Note: This will only work with packages for the Ubuntu archive!
edited Dec 29 '13 at 14:26
community wiki
2 revs
alexander255
1
Without the Internet connection available at the moment of executingapt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.
– melvynkim
Dec 21 '13 at 21:28
add a comment |
1
Without the Internet connection available at the moment of executingapt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.
– melvynkim
Dec 21 '13 at 21:28
1
1
Without the Internet connection available at the moment of executing
apt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.– melvynkim
Dec 21 '13 at 21:28
Without the Internet connection available at the moment of executing
apt-get install $PACKAGENAME
, "Unable to locate package" error will be returned.– melvynkim
Dec 21 '13 at 21:28
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f362009%2fhow-i-can-install-build-essential-in-a-pc-without-internet-connection%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
3
Possible duplicate of How can I install software or packages without Internet (offline)?
– karel
Jan 16 at 15:12