Install mpeg4ip using apt on Ubuntu 14.04TLS - ubuntu-14.04

I want to install mpeg4ip tool on ubuntu14.04TLS. I have searched and found below answer:
sudo apt-get install mpeg4ip-server
But it seems doesn't work.
Then I found mpeg4ip 1:1.6dfsg-0.2ubuntu8 source package in Ubuntu but I don't know how to use it as upstream.
I can see the tar package but I don't think I have to build it myself. I guess many dependency so it's better to install binary.

Just got below solution:
First,Add source of lucid.
sudo vim /etc/apt/sources.list
add below lines to this file
deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
Second, Run update command to update software list
$ sudo apt-get update
Then, Run command to install mpeg4ip tool.
$sudo apt-get install mpeg4ip-utils
$sudo apt-get install mpeg4ip-server
$sudo apt-get install gpac # Install MP4Box tool
Done.

Related

Installing kernel headers packages missing error

I am trying to install kernel-headers but getting this error
E: Unable to locate package linux-headers-5.9.0-kali1-amd64
E: Couldn't find any package by glob 'linux-headers-5.9.0-kali1-amd64'
E: Couldn't find any package by regex 'linux-headers-5.9.0-kali1-amd64'
I have updated and uncommented this line in sources.list
deb-src http://http.kali.org/kali kali-rolling main contrib non-free
but errors thats can't locate regex or glob. what I am missing?
Here's what you may need to do
sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot
sudo apt-get install linux-headers-$(uname -r) # This should work now
from what am guessing linux-headers-5.9.0 is not available in the kali repository.
you can always use apt-cache search linux-headers to know if it available
but to update to the latest linux headers
sudo apt-get update
sudo apt-get dist-upgrade
then search for Linux-headers available using apt search Linux-headers.
so you install the latest version using
sudo apt-get install -y linux-headers-$(uname -r)

“E: Unable to locate package python3-pip” in Debian 10

For installing pip3 I am following apt update process.
But I am getting output in terminal:
$ sudo apt-get update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python3-pip
Tried all available solutions on stackoverflow.
Please suggest any solutions.
Sometimes the sources.list file is not configured properly, so if none of solutions work than try this:
Type in terminal, gedit etc/apt/sources.list. A file will open, check if these given lines are present or not in that file:
deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main
In my case these were missing, this means the apt-get command had no mirrors configured to pull and update packages. These lines are the links to Debian repositories from where packages are pulled.
Copy and paste these lines into that file and save and close it.
Now run sudo apt-get update and than run sudo apt-get upgrade. Once process finishes run sudo apt-get install -y python3-pip. This will install pip3 without any error.
Please run an update and upgrade,
sudo apt update && sudo apt upgrade
Hopefully, this will fix the issue. if this doesn't work you can always update the source list manually.

How to install Python package installer PIP on Ubuntu 20.04 Linux

Trying to install pip with Ubuntu version 20.04, Python version 3.8 on my Oracle virtual box.
Tried everything to install pip but failed
Steps tried
$ sudo apt update
$ sudo apt install python3-pip
Also tried
$ sudo apt-get install python3-pip
Error both times
python3-pip is not available but is being used by another candidate. This may mean that the package has been obsolete, has been missing or is only available from another source.
E: Package 'python3-pip' has no installation candidate
Option 1
1.vim /etc/apt/sources.list
2.add these lines in the above file.
deb http://http.kali.org/kali kali-rolling main non-free contribs
deb http://kali.cs.nctu.edu.tw/kali kali-rolling main contrib non-free
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
sudo apt update
sudo apt install python3-pip
Option 2
sudo apt-get update
sudo apt-get upgrade
sudo apt install python3-pip
Option 3
https://stackoverflow.com/a/59922280/11741464
Source:
facing problem in kali linuix python3-pip

Install linux-headers on debian unable to locate package

I am trying to install the linux-headers for my Kernel Version 3.4.61+ and Debian Version 7.1
I typed this Commands:
apt-get update
apt-get install linux-headers-$(uname -r)
On the last command I always get an Error:
E: Unable to locate package linux-headers-3.4.61
E: Couldn't find any package by regex 'linux-headers-3.4.61'
btw: It´s all based on a Cubietruck/Cubieboard3
Here's what you may need to do
sudo apt-get update # This will update the repositories list
sudo apt-get upgrade # This will update all the necessary packages on your system
sudo apt-get dist-upgrade # This will add/remove any needed packages
reboot # You may need this since sometimes after a upgrade/dist-upgrade, there are some left over entries that get fixed after a reboot
sudo apt-get install linux-headers-$(uname -r) # This should work now
You could search first, then choose the closest one.
For example, on my system:
$ apt-cache search linux-headers
linux-headers-3.2.0-4-all - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-all-amd64 - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-amd64 - Header files for Linux 3.2.0-4-amd64
So I can install any one of these three.
Heres my experience with this problem:
I installed Kali Linux from a live memory stick. Whilst installing I didn't have an internet connection.
This meant that my sources.list file was set to "Default Off-line Install Values". This meant that when installing I was limited to just the packages and data from the memory stick I Initially installed from.
To fix this, you need to change your sources.list (called switching branches):
Open terminal:
nano /etc/apt/sources.list
This opens the sources file
Now at the top of the file paste in the following two lines:
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
Press CTRL + X then Press Y and Enter to save the file.
Now you can type the following commands to update Kali:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
reboot
And finally, you should now be able to...
sudo apt-get install linux-headers-$(uname -r)
This is just my unique experience with this error stemming from an offline install.
I hope this helps someone else out there.
Reference
Check the Source.list file to contain the repository entries.
You can find them at - https://docs.kali.org/general-use/kali-linux-sources-list-repositories.
After editing the file, save it and run "apt-get update && apt-get upgrade". Now run "apt-get install linux-headers-$(uname -r)"
For latest version of kali linux do the following to install vbox guest additions.
Update the packages
# apt-get update
Command to install virtualbox guest additions
# apt-get install -y virtualbox-guest-x11
Reboot
# reboot
Enjoy!
Now you have successfully installed guest OS additions and you can verify that by toggling full-screen it should now stretch to your screen resolution.
Source: Kali Linux Official (Docs - VirtualBox guest additions)
Just Use:
sudo apt-get install linux-headers-generic
if you are on a Desktop installation. The apt-get will solve the dependencies and install the correct version of kernel headers.

Unable to install git

I ran the following commands on linux mint 12 lisa:
1). sudo rm -rf /var/lib/apt/lists/* -vf
2). sudo apt-get update
3). sudo apt-get install git
I am getting the following error on running 3. That is, installing git:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package git
My /etc/apt/sources.list file contains the following content:
deb http://packages.linuxmint.com/ lisa main upstream import
deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ oneiric partner
deb http://packages.medibuntu.org/ oneiric free non-free
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb games
sudo apt-get upgrade shows the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
You need to install aptitude first.
sudo apt-get install aptitude
then install git using the command
sudo aptitude install git
I have a similar problem and solved it by running the update and upgrade at the same on one command line.
sudo apt-get update && sudo apt-get upgrade -y
after that I normally installed git with :
sudo apt-get install git
I have tried all but this works for me
In Terminal
$ software-properties-gtk
In Ubuntu, Software/Download_From_internet, enable all of the check marks
$ sudo apt-get install aptitude
$ sudo aptitude install git

Resources