How can I install a .deb package in Ubuntu Linux












0















I'm trying to install BlueJ and this is what I did:




  1. I got my JDK and used sudo apt-get install openjdk-7-jdk in
    the terminal to install it and that seemed to work.

  2. 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.










share|improve this question

























  • 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 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











  • 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
















0















I'm trying to install BlueJ and this is what I did:




  1. I got my JDK and used sudo apt-get install openjdk-7-jdk in
    the terminal to install it and that seemed to work.

  2. 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.










share|improve this question

























  • 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 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











  • 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














0












0








0








I'm trying to install BlueJ and this is what I did:




  1. I got my JDK and used sudo apt-get install openjdk-7-jdk in
    the terminal to install it and that seemed to work.

  2. 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.










share|improve this question
















I'm trying to install BlueJ and this is what I did:




  1. I got my JDK and used sudo apt-get install openjdk-7-jdk in
    the terminal to install it and that seemed to work.

  2. 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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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 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











  • 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











  • 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













  • 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










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer
























  • I tried that and it said "requested operation requires superuser privilege"

    – Tyler Hough
    Sep 27 '14 at 21:24













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
});


}
});














draft saved

draft discarded


















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









0














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.






share|improve this answer
























  • I tried that and it said "requested operation requires superuser privilege"

    – Tyler Hough
    Sep 27 '14 at 21:24


















0














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.






share|improve this answer
























  • I tried that and it said "requested operation requires superuser privilege"

    – Tyler Hough
    Sep 27 '14 at 21:24
















0












0








0







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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





















  • 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




















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕