apt install pkg.tar DIDN'T WORK?

Linyx10

New Member
Credits
31
Why
Code:
apt install pkg.tar
Didn't work?
E: Unable to locate the software package mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar
E: Cannot find any software package according to glob ‘mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar’
E: Cannot find any software package according to the regular expression mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar
 


captain-sensible

Well-Known Member
Credits
7,388
i would say some background reading on obtaining software- your on Mint ? or ?

the basics of software are either manual install of a .deb package or from repo

sudo dpkg -i <package.deb>

sudo apt search mysql
 

gvisoc

Member
Credits
938
tar files are not installable packages, so they won’t work with apt. apt expects deb files, which contain metadata for the system to know where to put each file they contain, what are the dependencies in terms of the Linux base and the other packages they expect to be installed before, etc.

what you’re saying in your output is apt seriously confused, trying to understand “package.tar” as something like “package.tar-arch-version.deb” stored somewhere in your package sources

tar files are archives that contains directories and files, not even compressed. It stands for “Tape ARchive”, as its goal was originally to streamline a portion of a file system so that it could be stored and retrieved from a tape, nothing else. Today it is used to pre-package files before compressing them. When you extract the content of a tar file (or tarball) you just get it’s contents hanging from the location you extract them to.
 

khedger

Active Member
Credits
910
So - first step - 'man tar' and read.
second step - extract the tar archive using the tar command:
-make a dir to work in
-move your .tar file to that directory
-issue a command like 'tar xvf <tilename.tar>

keith
 

Vrai

Well-Known Member
Credits
2,656
Why
Code:
apt install pkg.tar
Didn't work?
E: Unable to locate the software package mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar
E: Cannot find any software package according to glob ‘mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar’
E: Cannot find any software package according to the regular expression mysql-8.0.21-linux-glibc2.17-x86_64-minimal.tar
"Untar" or 'extract' the contents of the .tar file first. (Should probably make an empty directory for this.)
Then see what the contents are.
There 'should' be a "READ ME" file in there which likely has more information or instructions regarding installing that particular package.
 



Latest posts

Top