• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install .deb Packages in Ubuntu or Other deb GNU/Linux

By Abhishek Ghosh June 29, 2015 8:47 am Updated on June 29, 2015

Install .deb Packages in Ubuntu or Other deb GNU/Linux

Advertisement

Sometimes a .deb Package is Not Available on Repo & Available Elsewhere. Here is How to Install .deb Packages in Ubuntu or Other deb GNU/Linux. Normally we use a package manager like aptitude. In those cases we run – apt-get install or apt install is the name of the package, for example nginx-custombuild. We are taking the case happening on server while using SSH. However, the same method can be used on local computer with a graphical user interface.

 

How To Install .deb Packages in Ubuntu or Other deb GNU/Linux

 

For security reasons, make 100% sure that the .deb package is from a reliable or trusted source. .deb always bear a signature, yet this is important. We usually wget the package. After wget, we must make sure that the ownership is permissive to run the package. User should have sudo privilege, else need to append sudo before the command.

This installing .deb is called manual installation of packages and can be done via the dpkg command. dkpg stands for – Debian Package Management System. dpkg is the backend to apt-get and aptitude.

Advertisement

---

Suppose the .deb package is located where our current location is, then we can run any command in the formats written below :

Vim
1
2
dpkg --install package-name.deb
dpkg -i package-name.deb

We can run man dpkg to read the manual or browse here :

Vim
1
http://manpages.debian.org/cgi-bin/man.cgi?query=dpkg&apropos=0&sektion=0&manpath=Debian+8+jessie&format=html&locale=en

for the advanced usages.

If, suppose the package is wget-ed to /etc/cache/tmp, then we will install in this way :

Vim
1
dpkg -i -R /etc/cache/tmp/

Capital i, that is I is for info :

Vim
1
dpkg -I package-name.deb

Install .deb Packages in Ubuntu or Other deb GNU:Linux

Note : The above screenshot shows a custom version of NGINX with a different name, it is not the paid version, i.e. NGNIX Plus.

You possibly should run :

Vim
1
sudo apt-get install -f

-f Flag installs the unmet dependencies which might be needed the the package. In order to remove the deb package, you can simply run :

Vim
1
2
3
dpkg -l | grep 'package-name'
# read the output
dpkg -r package-name1.2

The above command is uninstallation. package-name is becoming kind of package-name1.2 as possibly there will be some version name. It can be same or different.

Tagged With gedebi console , how to install linux deb

This Article Has Been Shared 610 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install .deb Packages in Ubuntu or Other deb GNU/Linux

  • Must Know GNU/Linux Commands For the SSH Users

    Here Are Some Must Know GNU/Linux Commands For the SSH Users Who Are Relatively Newer and Primarily Managing Own Servers to Run their Websites.

  • What is Load Average in GNU/Linux?

    If We Run Top Command, We Can See a Parameter Load Average. What is Load Average in GNU/Linux? Why we need to know this load average for a server?

  • Install Command Line File Manager on Ubuntu Server

    Midnight Commander Has a Text Based User Interface & Can Be Used on All OS. Here is How To Install Command Line File Manager on Ubuntu Server.

  • Edit SSH After Login Info (MOTD) on Deb GNU/Linux

    Edit SSH After Login Info i.e. MOTD on Deb GNU/Linux including Execution of Scripts. In Post PRISM Acknowledged Era, Functions Has Been Changed.

  • A Terminal Music Player With Visualizer

    15 Years Ago a Student Developed A Terminal Music Player With Visualizer For Graduation Purpose. We Are Porting it With GNU GPL 3.0 License.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (22.1K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What are Offshore Sportsbooks and How to Take Advantage of Them? May 28, 2022
  • The True Cost Of Container Security: Why They’re Not A Silver Bullet May 28, 2022
  • How To Build An AI Strategy That Works May 26, 2022
  • The Future Of Serverless: The Load-Intensive Workload Case May 25, 2022
  • Cutting Out The Coding: Serverless Computing In Action May 24, 2022

About This Article

Cite this article as: Abhishek Ghosh, "Install .deb Packages in Ubuntu or Other deb GNU/Linux," in The Customize Windows, June 29, 2015, May 29, 2022, https://thecustomizewindows.com/2015/06/install-deb-packages-in-ubuntu-or-other-deb-gnulinux/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2022 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy