Code: Select all
# apt-get -s install pcsx2: i386
Reading package lists ... Done
Building a dependency tree
Reading status information ... Done
Some packages could not be installed. This could mean
that an impossible situation was requested or an unstable distribution was used
in which some packages have not yet been created or moved
from the Incoming directory.
The following information may help resolve the situation:
The following packages have unmet dependencies:
pcsx2: i386: Requires: libportaudio2: i386 (> = 19 + svn20101113) but it will not be installed
It recommends: libasound2-plugins: i386 but will not be installed
E: Could not fix problems, corrupt packages stopped.
Code: Select all
# apt-get -s install libasound2-plugins: i386
Reading package lists ... Done
Building a dependency tree
Reading status information ... Done
The following packages were installed automatically and are no longer required:
linux-headers-5.11.0-27-generic linux-headers-5.11.0-27-lowlatency
linux-headers-5.4.0-84 linux-headers-5.4.0-84-generic
linux-headers-5.4.0-84-lowlatency linux-hwe-5.11-headers-5.11.0-27
linux-image-5.11.0-27-generic linux-image-5.11.0-27-lowlatency
linux-image-5.4.0-84-generic linux-image-5.4.0-84-lowlatency
linux-modules-5.11.0-27-generic linux-modules-5.11.0-27-lowlatency
linux-modules-5.4.0-84-generic linux-modules-5.4.0-84-lowlatency
linux-modules-extra-5.11.0-27-generic linux-modules-extra-5.4.0-84-generic
linux-tools-5.4.0-84 linux-tools-5.4.0-84-generic
To remove them, use "sudo apt autorove".
The following additional packages will be installed:
libjack0: i386 libsamplerate0: i386
Suggested packages:
jackd1: i386
The following NEW packages will be installed:
libasound2-plugins: i386 libjack0: i386 libsamplerate0: i386
0 upgraded, 3 newly installed, 0 removed and 0 not updated.
Inst libjack0: i386 (1: 0.125.0-3build2 Ubuntu: 20.04 / focal [i386])
Inst libsamplerate0: i386 (0.1.9-2 Ubuntu: 20.04 / focal [i386])
Inst libasound2-plugins: i386 (1.2.2-1ubuntu1 Ubuntu: 20.04 / focal [i386])
Conf libjack0: i386 (1: 0.125.0-3build2 Ubuntu: 20.04 / focal [i386])
Conf libsamplerate0: i386 (0.1.9-2 Ubuntu: 20.04 / focal [i386])
Conf libasound2-plugins: i386 (1.2.2-1ubuntu1 Ubuntu: 20.04 / focal [i386])
So I installed first
libasound2-plugins:i386
then I installed
pcsx2:i386
I am unable to say why these packages are corrupted
and why they can be installed anyway.
Edit
Option " -s " I used for simulation only. ( it won't install )
###############################
Edit
https://github.com/PCSX2/pcsx2/wiki/Ins ... 2004-64bit
Note that there you have several guides.
From
" inxi -Fxxxrz " I see you have 64 bit ( x86_64 bits ) system
So the first tutorial is not for you.
When you have next tutorial on the same website "
How to compile PCSX2 in 2021 (Ubuntu 20.04) (64bit)"
then
libglew-dev:i386 not exist.
However try not build and install.
Don't do trash on your system.
We use the package manager to easily remove packages.
If you really need build package.
Try to find way to build package or install to one folder where you can remove.
I don't know how build .deb package. I used
I edited what was there and it build .deb package.
( This command you can use only after compile - for example after compile PCSX2 ( make / cmake )
To change path, you need add path when you build files ( not package )
for example
Code: Select all
./autogen.sh --prefix=/home/your_user_name/bin
make
Other example
Code: Select all
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/your_user_name/path/ ..
From terminal command will work if app will in one of paths
Code: Select all
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
You can set own path in ~/.profile
Code: Select all
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin/" ] ; then
PATH="$HOME/bin:$HOME/bin/bin:$PATH"
fi
However, I no longer use the home directory for packages.
For security reasons.
I use for example /opt folder, but I need check or change file permissions.
https://askubuntu.com/questions/195652/ ... ux-scripts
Edited
A lot of reading
It's not everything. You might want to look in
Edit
Small correction
Maybe not
" file_name --help " but
I will give such an example.
There you have file
CMakeLists.txt which is used to compile by
cmake app
And when you trying like this
Code: Select all
$ mkdir build
$ cmake .. --help
Usage
cmake [options] <path-to-source>
cmake [options] <path-to-existing-build>
cmake [options] -S <path-to-source> -B <path-to-build>
Specify a source directory to (re-)generate a build system for it in the
current working directory. Specify an existing build directory to
re-generate its build system.
...
then you have options ( help ) for compile and are from
CMakeLists.txt file.
But if you tried
then you have options ( help ) from cmake app.
Developer can use this probably to build
CMakeLists.txt file.
So, they are two different things
Edit
Here with cmake I'm not sure. Maybe I'm saying something wrong.
cmake .. --help
and
cmake --help
the output looks the same.
However after
in build folder is created CMakeCache.txt file, which you can check.
For example there is CMAKE_INSTALL_PREFIX:PATH=/usr/local