How can I install a .deb package in Ubuntu Linux
I'm trying to install BlueJ and this is what I did:
- I got my JDK and used
sudo apt-get install openjdk-7-jdk
in
the terminal to install it and that seemed to work. - I downloaded the BlueJ installer from this link which is for
Linux: http://www.bluej.org/download/files/bluej-314.deb
Other than doing this, I have no idea how to get it to run.
linux ubuntu deb
|
show 2 more comments
I'm trying to install BlueJ and this is what I did:
- I got my JDK and used
sudo apt-get install openjdk-7-jdk
in
the terminal to install it and that seemed to work. - I downloaded the BlueJ installer from this link which is for
Linux: http://www.bluej.org/download/files/bluej-314.deb
Other than doing this, I have no idea how to get it to run.
linux ubuntu deb
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
You wrote that you downloadedbluej-314.deb
. You must give the file as a parameter to thedpkg -i
command. ------ Either switch to your download directory:cd ~/Downloads
and run the command or give the full path to the command:sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if~/Downloads
is indeed your download directory and the file is there.
– pabouk
Sep 27 '14 at 21:08
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22
|
show 2 more comments
I'm trying to install BlueJ and this is what I did:
- I got my JDK and used
sudo apt-get install openjdk-7-jdk
in
the terminal to install it and that seemed to work. - I downloaded the BlueJ installer from this link which is for
Linux: http://www.bluej.org/download/files/bluej-314.deb
Other than doing this, I have no idea how to get it to run.
linux ubuntu deb
I'm trying to install BlueJ and this is what I did:
- I got my JDK and used
sudo apt-get install openjdk-7-jdk
in
the terminal to install it and that seemed to work. - I downloaded the BlueJ installer from this link which is for
Linux: http://www.bluej.org/download/files/bluej-314.deb
Other than doing this, I have no idea how to get it to run.
linux ubuntu deb
linux ubuntu deb
edited Dec 21 '17 at 11:50
Mureinik
2,86171725
2,86171725
asked Sep 27 '14 at 19:47
Tyler HoughTyler Hough
111
111
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
You wrote that you downloadedbluej-314.deb
. You must give the file as a parameter to thedpkg -i
command. ------ Either switch to your download directory:cd ~/Downloads
and run the command or give the full path to the command:sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if~/Downloads
is indeed your download directory and the file is there.
– pabouk
Sep 27 '14 at 21:08
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22
|
show 2 more comments
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
You wrote that you downloadedbluej-314.deb
. You must give the file as a parameter to thedpkg -i
command. ------ Either switch to your download directory:cd ~/Downloads
and run the command or give the full path to the command:sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if~/Downloads
is indeed your download directory and the file is there.
– pabouk
Sep 27 '14 at 21:08
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
You wrote that you downloaded
bluej-314.deb
. You must give the file as a parameter to the dpkg -i
command. ------ Either switch to your download directory: cd ~/Downloads
and run the command or give the full path to the command: sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if ~/Downloads
is indeed your download directory and the file is there.– pabouk
Sep 27 '14 at 21:08
You wrote that you downloaded
bluej-314.deb
. You must give the file as a parameter to the dpkg -i
command. ------ Either switch to your download directory: cd ~/Downloads
and run the command or give the full path to the command: sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if ~/Downloads
is indeed your download directory and the file is there.– pabouk
Sep 27 '14 at 21:08
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22
|
show 2 more comments
1 Answer
1
active
oldest
votes
Go to the directory in which you've downloaded BlueJ .deb file: (Assuming it's your Downloads folder)
cd ~/Downloads
Then do
dpkg -i filename.deb
Change filename
with the name of your .deb file. If you still get an error saying no such file or directory, write ls
and see if the .deb file is listed there.
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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%2fsuperuser.com%2fquestions%2f817665%2fhow-can-i-install-a-deb-package-in-ubuntu-linux%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
Go to the directory in which you've downloaded BlueJ .deb file: (Assuming it's your Downloads folder)
cd ~/Downloads
Then do
dpkg -i filename.deb
Change filename
with the name of your .deb file. If you still get an error saying no such file or directory, write ls
and see if the .deb file is listed there.
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
add a comment |
Go to the directory in which you've downloaded BlueJ .deb file: (Assuming it's your Downloads folder)
cd ~/Downloads
Then do
dpkg -i filename.deb
Change filename
with the name of your .deb file. If you still get an error saying no such file or directory, write ls
and see if the .deb file is listed there.
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
add a comment |
Go to the directory in which you've downloaded BlueJ .deb file: (Assuming it's your Downloads folder)
cd ~/Downloads
Then do
dpkg -i filename.deb
Change filename
with the name of your .deb file. If you still get an error saying no such file or directory, write ls
and see if the .deb file is listed there.
Go to the directory in which you've downloaded BlueJ .deb file: (Assuming it's your Downloads folder)
cd ~/Downloads
Then do
dpkg -i filename.deb
Change filename
with the name of your .deb file. If you still get an error saying no such file or directory, write ls
and see if the .deb file is listed there.
answered Sep 27 '14 at 21:12
Mertcan EkizMertcan Ekiz
13526
13526
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
add a comment |
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
I tried that and it said "requested operation requires superuser privilege"
– Tyler Hough
Sep 27 '14 at 21:24
add a comment |
Thanks for contributing an answer to Super User!
- 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%2fsuperuser.com%2fquestions%2f817665%2fhow-can-i-install-a-deb-package-in-ubuntu-linux%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
Please see this answer: askubuntu.com/a/40781/67132
– pabouk
Sep 27 '14 at 20:00
Thanks man, but when I enter in: sudo dpkg -i bluej-314.deb it gives me an error: dpkg: error processing archive bluej-314.deb (--install): cannot access archive: no such file or directory
– Tyler Hough
Sep 27 '14 at 20:56
You wrote that you downloaded
bluej-314.deb
. You must give the file as a parameter to thedpkg -i
command. ------ Either switch to your download directory:cd ~/Downloads
and run the command or give the full path to the command:sudo dpkg -i ~/Downloads/bluej-314.deb
. ------ Check if~/Downloads
is indeed your download directory and the file is there.– pabouk
Sep 27 '14 at 21:08
The package is definitely in Downloads. I entered sudo dpkg -i ~/Downloads/bluej-314.deb in the terminal and it did not give me an error. The thing is that I don't even know how to launch the program... I am really sorry for my confusion, thank you so much for the help
– Tyler Hough
Sep 27 '14 at 21:30
In Ubuntu you either press the Windows logo key (between Ctrl and Alt) or the top button on the launcher panel on the left edge of the screen. This opens "Dash". Then you start to type the name of the application to start. After selecting the correct application press enter.
– pabouk
Sep 27 '14 at 22:22