I installed a program by getting its source code, and then running `sudo make install`; how to make `apt-get` know about it?



wxWidgets is an application development framework/library that allows developer to make cross platform GUI applications for Windows, Mac and Linux using the same codebase.

Its primarily written in C++ but has bindings for other languages as well like Python, Perl and Ruby.

In this tutorial I am going to show you how to compile and build wxwidgets 3.0+ on Debian based linux systems like Ubuntu and Linux Mint.

Compiling wxWidgets from source is not at all difficult as it might sound and takes only a few minutes to do.

The library can be compiled in different modes like static library or dynamic library.

1. Download wxWidgets

The first step would be to download the wxWidgets source files from wxwidgets.org

Once done, extract the files to a directory.

2. Setup build environment

To compile wxwidgets we would need some utility programs including the C++ compiler on Linux called g++. And all of it would be...

0 0

To handle Debian-based system packages, we use the apt-get command. This command requires administrative rights to work. It contains several options that make it possible to manipulate the packages through some operations like the installation, update or deletion, and many others. The beautiful thing is the fact that it allows installing a specific version of a package and the purpose of this tutorial we are using Ubuntu 16.04 version.

Read Also : How to List Installed Packages by Date on Linux

1) Check the available versions of packages

Sometimes you can face issues or bug with a version of a package, this may cause you to choose a version which doesn't encounter bugs. Before installing, it is possible to check the available versions of a package with the apt-cache madison command. The syntax is

apt-cache madison package

You can see the output below

$ apt-cache madison virtualbox virtualbox | 5.0.40-dfsg-0ubuntu1.16.04.2 |...
0 0

Brief: This detailed guide shows you various ways to install applications in Ubuntu Linux and it also demonstrates how to remove installed software in Ubuntu.

When you switch to Linux, the experience could be overwhelming at the start. Even the basic things like installing applications in Ubuntu could seem confusing.

Don’t worry. Linux provides so many ways to do the same task that it is only natural that you may seem lost, at least in the beginning. You are not alone. We have all been to that stage.

In this beginner’s guide, I’ll show most popular ways to install software in Ubuntu. I’ll also show you how to uninstall the software you had installed earlier.

I’ll also provide my recommendation about which method you should be using for installing software in Ubuntu. Sit tight and pay attention. This is a long article, a detailed one which is surely going to add to your knowledge.

How to install applications in Ubuntu and how to remove...

0 0

Linux users generally have an easy time finding and installing software. Just about every distribution has a software repository with a nice, graphical front-end. To install a program you usually only have to search for it and then press the “Install” button. If the software isn’t available in the repository, you can usually find pre-compiled binaries online somewhere. Then, it’s a just a matter of running apt-get, yum, or similar (depending on which Linux distribution you are using) to install them. Sometimes, though, you have no option but to compile Linux programs from source yourself, especially if you want the bleeding-edge development version of a program for which no pre-compiled binaries exist.

Want to learn how to compile Linux programs from source? Then read on!

For some reason, the prospect of having to compile Linux programs from source scares many Linux users – even those who have been using the operating system for years. But it need not scare them....

0 0

Obtaining software directly from the source code is a common procedure on Unix computers, and generally involves the following three steps: configuring the makefile, compiling the code, and finally installing the executable to standard locations. In order to work with Node.js in Kali Linux, it's recommendable to follow the mentioned process as it's easier than other solutions.

Although Python is prefered when working with Kali Linux, both of the programming languages (Python and JavaScript) have the same end goals. There is no right or wrong decision for adopting which platform is best suited to you, therefore if you want to work with JavaScript instead of Python don't feel bad about that. Besides, Node can be utilized in the broad range of modules, that means that you can use Python in your Node.JS application and viceversa.

Let's get started with the installation !

1. Verify that you have all the required tools

To create your own .deb package of...

0 0

There are several ways of installing softwares in linux and they are described in many tutorials. this tutorial will cover most of the processes of installing softwares in a linux system.

Online installation:

#1. Through software manager(linux mint)/software center(ubuntu):

first open the terminal and run this command to get the latest version of the software:

sudo apt-get update


1. open software manager/center. it's in the menu.

2. search your desired software in the search box

3. if it's in the list then it will appear before you . if it's not in the list follow the instructions in the ppa installation section of this tutorial.

4. now double click on the desired software entry and then click "install".

5. it will be installed on your system as per your network connection speed.

#2. Through synaptic package manager:

if it is absent in your linux distribution then you will have to...

0 0
Sponsored Link

For all those who are beginners in any linux(ubuntu) find hard to find the package files of their distro and end up in finding an source package(which is either in tar.gz or .gz).. so now people think how to install these source files.....

lets now see how would you be installing source files in ubuntu.....

source files contain the programs and hence before the installation you need to compile them... so you need to install the build-essentials from the synaptic package manager.... else this build-essentials is already present in the cd.. and so you can install it.....else you can install it typing it in the terminal by

sudo aptitude install build-essential

suppose you have a source file name src.tar.gz, what you do initially is that you need to extract the source files and then in the terminal....

navigate to the folder where the source file is extracted using the cd commands..... and then

type the following...

0 0

after entering the command

sudo apt-get install r-base r-base-dev

it prompts me to insert a disc labeled ubuntu 14.04.2 trusty tahr. What does that mean? Do i have to insert a disc as the prompt asks? thank you in advance...

You are prompted for CD since the installation CD is still listed in the sources.list as a reposioty for your system.


Usually officia package sources are listed in /etc/apt/sources.list file

and third-party repositories /etc/apt/sources.list.d/*.list files.

If you installed from CD-ROM, there'll be a line with

deb cdrom:[some name]/ stable main

To remove it:

sudo gedit /etc/apt/sources.list

Remove it or comment it out (by adding a # at the beginning of the line)

Now run:

sudo apt-get update

then run:

sudo apt-get install r-base r-base-dev

To do it GUI Either go to ubuntu software center then to menu -> edit -> sofwtare source or run the command:

0 0
0 0
The rEFInd Boot Manager: Getting rEFInd

by Roderick W. Smith, rodsmith@rodsbooks.com

Originally written: 3/14/2012; last Web page update: 10/22/2017, referencing rEFInd 0.11.2

This Web page is provided free of charge and with no annoying outside ads; however, I did take time to prepare it, and Web hosting does cost money. If you find this Web page useful, please consider making a small donation to help keep this site up and running. Thanks!

This page is part of the documentation for the rEFInd boot manager. If a Web search has brought you here, you may want to start at the main page.

Note: I consider rEFInd to be beta-quality software! I'm discovering bugs (old and new) and fixing them every few days. That said, rEFInd is a usable program in its current form on many systems. If you have problems, feel free to drop me a line.

Getting rEFInd from Sourceforge

You can find the rEFInd source code and binary packages at its SourceForge page....

0 0

Here we will discuss some basics topics related to Java.

Where to download Java.How to install Java.Setting up the Environment Variables.Our First Java Program.How to compile a Java application.How to run a Java Application.Difference between important terms in Java (JDK vs JRE or J2SE vs J2EE..).

How to Download Java

Latest version of Java can be downloaded from Java Website.

Java Installation

There are no special requirements when installing Java. Be sure that you have suitable permissions on your computer to install software. It can be installed like any other software (.exe).

Setting up the Environment Variables

After installing Java there are some environment variables that need to be set.

CLASSPATH : This environment variable points to the location of JDK home directory. It also contains the address of folder from where jars get loaded by ClassLoader (For more details of ClassLoader visit here)JAVA_HOME : This environment...
0 0
RHEL 7/CentOS 7

Install CUDA using the following command:

$ sudo yum install cuda-toolkit-9-1 \ xorg-x11-drv-nvidia-libs nvidia-kmod

If the system is using a non-NVIDIA GPU to render the display, remove the files at /etc/X11/xorg.conf and /usr/lib64/nvidia/xorg/libglx.so, and remove the nomodeset kernel parameter from the boot command-line.

Follow the instructions here to ensure that Nouveau is disabled.

RHEL 6/CentOS 6

Install CUDA using the following command:

$ sudo yum install cuda-toolkit-9-1 \ xorg-x11-drv-nvidia-libs nvidia-kmod

If the system is using a non-NVIDIA GPU to render the display, remove the file at /etc/X11/xorg.conf.

Follow the instructions here to ensure that Nouveau is disabled.


Install CUDA using the following command:

$ sudo dnf install cuda-toolkit-9-1 \ ...
0 0

What you can do with PlanePlotter and the dump1090 program.

PlanePlotter from COAA is a well-established program taking input from a variety of receivers, and which can also operate with Internet sharing. Below is a sample animated screenshot kindly provided by John Locker showing what PlanePlotter can do. Click the picture for a full-resolution animation. This note is about using a low-cost TV receiver dongle and a Raspberry Pi as a very low cost remote receiver for PlanePlotter and similar programs. The same DVB-T dongle can work directly on your PC using the Windows version of dump1090, which supersedes with the earlier highly valued RTL1090 software. You'll find some more notes in Sopwith's blog post.

In the picture above, I show my own Raspberry Pi which I have fitted with a GPS receiver for highly accurate timekeeping, although this is not essential for this application. I recommend the Adafruit GPS receiver - also available in the UK.

The System -...

0 0