Tutorial  Updated

L4T Ubuntu Applcation Install guides.

So, instead of clogging up poor @bylaws L4T thread (sorry buddy!) with emulators apps, I figured it might be a good idea to try and make a separate thread for quick guides, and leave his one to troubleshooting actual L4T issues.

The intent for this thread is to leave behind quickshot guides for others to install applications we know works for Tegra Linux, so here's the one's I've managed so far, with the help of some folks in the L4T OS thread.

If others are going to add to this thread with their own little guides, try to keep each seperate command on it's own line, and if the command is too big for 1 line, seperate it as I have done in the Vulkan Dolphin guide. Little comments should go into square brackets and have the color changed to red. Try to keep it in a format that people can copy/paste each line as they're needed.

(It is advised to make a Swapfile, so please follow that guide first!)

sudo apt install nano
[You can change 1G to whatever size you want, I used 2G]
sudo fallocate -l 1G /swapfile
[If fallocate throws an error, you want to run the]
[next command, if it doesn't, skip it]

sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo nano /etc/fstab
[You need to add this entry to the file you just opened]
[to make the change permanent:]

/swapfile swap swap defaults 0 0
[To verify that it installed correctly:]
sudo free -h
[Something like this should be the output:]

       [total        used         free       shared  buff/cache  available]
[Mem: 488M 158M 83M 2.3M 246M 217M]
[Swap: 1.0G 506M 517M]

echo performance | sudo tee /sys/devices/system/cpu/cpufreq/policy0/scaling_governor

sudo add-apt-repository ppa:dolphin-emu/ppa
sudo apt-get update
git clone https://github.com/Tinob/Ishiiruka.git
cd Ishiiruka
mkdir build
cd build

[This next line is all in one, so copy/paste]
sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev libxi-dev

cmake ..
make -j4
sudo make install

[Once installed, execute with]
ishiiruka
[Then lock it to the sidebar for easy access]

sudo add-apt-repository ppa:libretro/testing
sudo apt-get install retroarch* libretro*
sudo apt-get update && sudo apt-get upgrade
[Easy enough to install]

sudo apt-get install xserver-xorg-input-joystick

[To use your joycons as a mouse, press the sync buttons on the rail of each joycon, then use the bluetooth app to connect to them both. Once both are connected, hold them like you normally do, and press L+R (L1, R1 in Playstation terms), and that should be it!]
[Another easy install, to change sensitivity, go to system settings, mouse, and make your changes]

sudo apt-get install kodi
[After installing Kodi, you will need to logout. Do not shut down or reboot, but if you did, follow the same instructions.]
[Log out, and you'll be at the login menu. Click the account, and it'll ask you for your password.]
[Underneath the password box, is a cog. Click the cog, and click Unity.]
[From now on, Kodi will not automatically start upon booting up linux.]
[Yet another easy one, but this is a very powerful media box program]

[Original Post https://gbatemp.net/threads/tutoria...ling-moonlight-embedded-on-l4t-ubuntu.537429/ ]
sudo apt-get update
[Next line is all 1 command]
sudo apt-get install libopus0 libexpat1 libasound2 libudev1 libavahi-client3 libcurl3 libevdev2 libenet7 -y && sudo apt-get install libssl-dev libopus-dev libasound2-dev libudev-dev libavahi-client-dev libcurl4-openssl-dev libevdev-dev libexpat1-dev libpulse-dev uuid-dev libenet-dev cmake gcc g++ fakeroot debhelper
libavcodec-dev libsdl2-dev -y

git clone https://github.com/irtimmer/moonlight-embedded.git
cd moonlight-embedded
git submodule update --init
mkdir build
cd build/
cmake ../
make
sudo make install
sudo ldconfig

[Now reboot your switch]
moonlight pair <pc local ip>
moonlight stream <pc local ip>

[Where pc local ip, you must put in your pc's ip address. To find that, on windows, open Win+r, in the dialog box, put in cmd.exe. In the new window, type in ipconfg, then look for your systems ip address. if you computer is wired to your network, it'll fall under "Ethernet adapter Ethernet".
If it is Wireless, then it'll fall under "Wireless LAN adapter WiFi"
Either way, you'll want the IPv4 Address.]
[In linux, just open terminal, the command "ifconfig" and look for IPv4]


[To configure your joycons to work with Moonlight]
sudo gedit /usr/local/share/moonlight/gamecontroller.txt

[Scroll to the bottom and copy/paste one of these style codes into the file]
[For Nintendo Style:]
050000007e0500000620000001000000,Nintendo Switch Joy-Cons,a:b1,b:b0,back:b9,dpdown:b15,dpleft:b16,dpright:b17,dpup:b14,guide:b11,leftshoulder:b5,leftstick:b12,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b6,rightstick:b13,righttrigger:b8,rightx:a2,righty:a3,start:b10,x:b2,y:b3,

[For Microsoft Style:] 050000007e0500000620000001000000,Nintendo Switch Joy-Cons,a:b0,b:b1,back:b9,dpdown:b15,dpleft:b16,dpright:b17,dpup:b14,guide:b11,leftshoulder:b5,leftstick:b12,lefttrigger:b7,leftx:a0,lefty:a1,rightshoulder:b6,rightstick:b13,righttrigger:b8,rightx:a2,righty:a3,start:b10,x:b3,y:b2,

[Then,press CTRL + X. Then press Y. Then close terminal and reboot your switch.]
 
Last edited by ,

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,367
Country
Norway
This is the same post I made on another thread, but I'm putting it here as well to ensure answers as best I can.


While installing the package from this line
"sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev libxi-dev

cmake ..
make -j4
sudo make install"

I get:
"dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 2
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb (--unpack):
subprocess dpkg-split returned error exit status 2
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
Selecting previously unselected package libmbedx509-0:arm64.
Preparing to unpack .../62-libmbedx509-0_2.8.0-1_arm64.deb ...
Unpacking libmbedx509-0:arm64 (2.8.0-1) ...
Selecting previously unselected package libmbedtls10:arm64.
Preparing to unpack .../63-libmbedtls10_2.8.0-1_arm64.deb ...
Unpacking libmbedtls10:arm64 (2.8.0-1) ...
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package libwacom-dev.
Preparing to unpack .../81-libwacom-dev_0.29-1_arm64.deb ...
Unpacking libwacom-dev (0.29-1) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package wx-common.
Preparing to unpack .../86-wx-common_3.0.4+dfsg-3_arm64.deb ...
Unpacking wx-common (3.0.4+dfsg-3) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
Selecting previously unselected package libevdev-dev:arm64.
Preparing to unpack .../90-libevdev-dev_1.5.8+dfsg-1_arm64.deb ...
Unpacking libevdev-dev:arm64 (1.5.8+dfsg-1) ...
Selecting previously unselected package libinput-dev:arm64.
Preparing to unpack .../91-libinput-dev_1.10.4-1_arm64.deb ...
Unpacking libinput-dev:arm64 (1.10.4-1) ...
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-split: error: error reading /tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb: Is a directory
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb (--unpack):
subprocess dpkg-split returned error exit status 2
No apport report written because MaxReports is reached already
dpkg-deb: error: '/tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb' is not a Debian format archive
dpkg: error processing archive /tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb (--unpack):
dpkg-deb --control subprocess returned error exit status 2
No apport report written because MaxReports is reached already
Errors were encountered while processing:
/tmp/apt-dpkg-install-MIJWgL/59-libsys-hostname-long-perl_1.5-1_all.deb
/tmp/apt-dpkg-install-MIJWgL/60-libmail-sendmail-perl_0.80-1_all.deb
/tmp/apt-dpkg-install-MIJWgL/61-libmbedcrypto1_2.8.0-1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/64-libmbedtls-dev_2.8.0-1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/65-libminiupnpc-dev_1.9.20140610-4ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/66-libmtdev-dev_1.1.5-1ubuntu3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/67-libpng-tools_1.6.34-1ubuntu0.18.04.2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/68-libqt5concurrent5_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/69-qt5-qmake-bin_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/70-qt5-qmake_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/71-qtbase5-dev-tools_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/72-qtbase5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/73-libqt5opengl5-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/74-libsfml-system2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/75-libsfml-audio2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/76-libsfml-window2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/77-libsfml-graphics2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/78-libsfml-network2.4_2.4.2+dfsg-4_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/79-libswscale-dev_7%3a3.4.6-0ubuntu0.18.04.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/80-libudev-dev_237-3ubuntu10.21_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/82-libwxbase3.0-0v5_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/83-wx3.0-headers_3.0.4+dfsg-3_all.deb
/tmp/apt-dpkg-install-MIJWgL/84-libwxbase3.0-dev_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/85-libwxgtk3.0-0v5_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/87-libwxgtk3.0-dev_3.0.4+dfsg-3_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/88-libxkbcommon-dev_0.8.0-1ubuntu0.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/89-qt5-default_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/92-qtbase5-private-dev_5.9.5+dfsg-0ubuntu2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/93-libbluetooth-dev_5.48-0ubuntu3.1_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/94-libhidapi-libusb0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/95-libhidapi-hidraw0_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/96-libhidapi-dev_0.8.0~rc1+git20140818.d17db57+dfsg-2_arm64.deb
/tmp/apt-dpkg-install-MIJWgL/97-libsfml-dev_2.4.2+dfsg-4_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)"
I've had to deal with this twice now, and the last time it happened I couldn't write files to the microSD anymore and had to format.
Any suggestions?
Can you install any other programs, or do you get similar errors if you try? At any rate, you can try to follow this guide, and see if that helps
 
  • Like
Reactions: piratebay87
D

Deleted User

Guest
OP
Hey, I'm trying to install Dolphin and I'm at the point where I do the "git clone [link]" but straight after it requests a username and password... What am I doing wrong?
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
your post lacks context, i was asking something fairly simple to understand but there was no reason to make a snyde comment like that when after reading the post i linked, the forum post on the wine website is fairly complex and lengthy so the fact its. headache inducing is pretty apparent if you had read it rather than insulted me for no real reason other than to boost your own ego somehow. i am just looking to setup wine and then the information from that will help others who wish to do the same, so instead of trying to start pointless arguments with flaming or something ridiculous I'd prefer to stay on topic in the thread for l4t ubuntu, and not the level of someone's literary level.
The thread for Minecraft is here gbatemp.net/threads/tutorial-how-to-run-minecraft-java-edition-on-the-nintendo-switch-with-linux.503147/ most of it
Hey, I'm trying to install Dolphin and I'm at the point where I do the "git clone [link]" but straight after it requests a username and password... What am I doing wrong?
You don't even need to build dolphin because the actual application has more features and runs faster than Ishiiruka.

sudo apt-add-repository ppa:dolphin-emu/ppa
sudo apt update
sudo apt install dolphin-emu-master
 
  • Like
Reactions: Tomobobo
D

Deleted User

Guest
OP
You don't even need to build dolphin because the actual application has more features and runs faster than Ishiiruka.

sudo apt-add-repository ppa:dolphin-emu/ppa
sudo apt update
sudo apt install dolphin-emu-master

You're saying that's all I need to do to have a faster Dolphin? Sweet! Also, should I just get my roms onto my sd ready to play and test?
 
  • Like
Reactions: pietempgba
D

Deleted User

Guest
OP
Also go to page 12 and put in the dolphin settings there

Gotcha, thanks a ton. Also, on the joycon mouse stuff, how come in bluetooth settings it says the bluetooth is not on? Like, Idk how to explain it but it's like.. saved in the settings but clicking on it and the bluetooth just says no basically.
Do I need to run the joycon mouse code everytime I boot linux?
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
Gotcha, thanks a ton. Also, on the joycon mouse stuff, how come in bluetooth settings it says the bluetooth is not on? Like, Idk how to explain it but it's like.. saved in the settings but clicking on it and the bluetooth just says no basically.
Do I need to run the joycon mouse code everytime I boot linux?
the joycons and the pro controller need to be re-paired if you pair them with the switch os. Also you don't need to run the command again ever
 
Last edited by pietempgba,
D

Deleted User

Guest
OP
the joycons and the pro controller need to be re-paired if you pair them with the switch os. Also you don't need to run the command again ever

Gotcha, also, how well does like, Super Mario Galaxy or wii games run on dolphin?

EDIT: Do I get the ROMs and drag them onto the microSD to play them? Or is it a partition screwup which means I'll have to work with the terminal?
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
Gotcha, also, how well does like, Super Mario Galaxy or wii games run on dolphin?
SMG runs terribly, windwaker runs well, nsmbw runs well. Mario kart runs well with a action replay code. Punch out doesn't really work well and this YouTuber has play tests of games https://www.youtube.com/channel/UCIHz_Jdy_1WlM2HTaCvgUWw you can find the mkwii ar code in the description of one of his more recent videos
It's in his 30fps Mario kart
--------------------- MERGED ---------------------------

I would recommend not playing with audio for some of them because audio is always a little weird sometimes
 
D

Deleted User

Guest
OP
SMG runs terribly, windwaker runs well, nsmbw runs well. Mario kart runs well with a action replay code. Punch out doesn't really work well and this YouTuber has play tests of games https://www.youtube.com/channel/UCIHz_Jdy_1WlM2HTaCvgUWw you can find the mkwii ar code in the description of one of his more recent videos

--------------------- MERGED ---------------------------

I would recommend not playing with audio for some of them because audio is always a little weird sometimes

Ah alright, also, do DS emulators work alright?
 

pietempgba

Well-Known Member
Member
Joined
Jun 9, 2016
Messages
1,049
Trophies
0
XP
1,515
Country
United States
Gotcha, also, how well does like, Super Mario Galaxy or wii games run on dolphin?

EDIT: Do I get the ROMs and drag them onto the microSD to play them? Or is it a partition screwup which means I'll have to work with the terminal?
Plug in your switch to your dock and plug in a portable hard drive or USB stick and transfer files or take your SD card out and put it in a Linux machine to copy files after turning your console off

--------------------- MERGED ---------------------------

Ah alright, also, do DS emulators work alright?
I haven't tested it yet
 
D

Deleted User

Guest
OP
Plug in your switch to your dock and plug in a portable hard drive or USB stick and transfer files or take your SD card out and put it in a Linux machine to copy files after turning your console off

--------------------- MERGED ---------------------------


I haven't tested it yet

Alright well I gtg, thanks for all the help, I'll try it as soon as I wake up
 
  • Like
Reactions: pietempgba

tansoftware

Active Member
Newcomer
Joined
Apr 15, 2019
Messages
36
Trophies
0
Age
42
XP
351
Country
Canada
Would really appreciate help if someone could post how they've successfully compiled GZDOOM on Ubuntu L4T.

I was able to compile it using instructions from their WIKI, but executing the resulting binary failed.
 

coppertj

Well-Known Member
Member
Joined
May 26, 2017
Messages
193
Trophies
0
Age
25
XP
482
Country
United States
@StarGazerTom GameCube controllers work with toadking's drivers on Linux I built it with libudev and libusb 1.0.0

https://github.com/ToadKing/wii-u-gc-adapter

git clone https://github.com/ToadKing/wii-u-gc-adapter
cd wii-u-game-adapter
sudo apt install libusb-1.0.0-dev libudev-dev
make

[To start it up you need to have root access, sudo won't cut it. If you don't know the su password sudo su will also work. It will refuse to startup otherwise. Also this will not work with joycon xorg drivers. (Atleast with the wavebird) the mouse will keep scrolling to the top of the screen.]

./wii-u-game-adapter
 
D

Deleted User

Guest
OP
Hey guys, sorry for lack of interactivity and replies. Hectic here at the moment because its exams week. I'll start combing through the thread again come Tuesday as I'll finally be free, and add anything new to the OP.
 
D

Deleted User

Guest
OP
hi i made a video about my troubles with getting linmugen to run. I guess cause it is 32 bit it is a problem?



Any ideas?
 
D

Deleted User

Guest
OP
How do I let my pro controller work on Linux?

EDIT: Got it fixed but now 2 things... On Dolphin, how do I get out of fullscreen and back onto my desktop
And I'm playing melee but I can't move to pick what character I want to play as
 
Last edited by ,

RiceAlex

Member
Newcomer
Joined
May 6, 2019
Messages
17
Trophies
0
Age
26
XP
90
Country
China
I'll have a nice solution up for changing the CPU clock rates up soon for everyone

--------------------- MERGED ---------------------------

@bylaws should add this to the OP


Better solution for changing CPU frequencies. Also gives options for other frequencies.


To install and use TLP, use the following commands in a terminal:

sudo add-apt-repository ppa:linrunner/tlp
sudo apt-get update
sudo apt-get install tlp tlp-rdw
sudo tlp start
You don’t need to do anything after installing TLP. It works in the background.

To install CPUFREQ indicator use the following command:

sudo apt-get install indicator-cpufreq


Restart your computer and use the whatever frequency works best for you. BE CAREFUL AS ALWAYS WHEN OVERCLOCKING!!!!
After reading Nvidia's offical Jetson TX1 documents ,I find out an easy way to control BOTH GPU and CPU frequency by using jetson_clocks

sudo jetson_clocks -help (to see how to use)
sudo jetson_clocks --store config_file (store current state as .conf to somewhere)
sudo jetson_clocks --restore config_file (restore configuration)
sudo jetson_clocks (just push both CPU and GPU to maximum frequency (1734Mhz/921Mhz),and fan to maximum speed,like a jet engine)

But after reboot it will restore default.
Trying to make a GUI Python program to edit,but failed due to my poor Programming skill ...
 
Last edited by RiceAlex,

coppertj

Well-Known Member
Member
Joined
May 26, 2017
Messages
193
Trophies
0
Age
25
XP
482
Country
United States
@tansoftware @nabelo

I am going to share how to install gzdoom
I wish the person who originally posted the successful compile would have shared the super simple answer that the wiki "told him todo" meanwhile it did not, it does not go into arm Linux. You need to know, fmodapilinux is for x32 architecture when fmodapiandroid which is for arm and the one you want.

STEP 1: Install the dependency files, this can all be pasted in all at once in terminal:
sudo apt-get install g++ make cmake libsdl2-dev git zlib1g-dev \
libbz2-dev libjpeg-dev libfluidsynth-dev libgme-dev libopenal-dev \
libmpg123-dev libsndfile1-dev libwildmidi-dev libgtk-3-dev timidity nasm \
libgl1-mesa-dev tar libsdl1.2-dev libglew-dev

STEP 2: Create the build directory
mkdir -pv ~/gzdoom_build

STEP 3: Get the git of gzdoom
cd ~/gzdoom_build &&
git clone git://github.com/coelckers/gzdoom.git &&
mkdir -pv gzdoom/build

Then run these three commands:
cd gzdoom

git config --local --add remote.origin.fetch +refs/tags/*:refs/tags/*

git pull

STEP 4: FMOD...
Gzdoom needs fmod, there's options on the wiki to disable fmod SOUND but that still does not eliminate need for FMODapi. The wiki does not explain that FMOD needs to be the android version for arm support. To get this and have it setup you need to do the following commands:

cd ~/gzdoom_build &&
wget -nc https://zdoom.org/files/fmod/fmodapi43623android.tar.gz &&
tar -xvzf fmodapi43623android.tar.gz -C gzdoom

STEP 5: Compile
Paste this all in at once in the terminal:
a='' && [ "$(uname -m)" = x86_64 ] && a=64
c="$(lscpu -p | grep -v '#' | sort -u -t , -k 2,4 | wc -l)" ; [ "$c" -eq 0 ] && c=1
cd ~/gzdoom_build/gzdoom/build &&
rm -f output_sdl/liboutput_sdl.so &&
if [ -d ../fmodapi43623android ]; then
f="-DFMOD_LIBRARY=../fmodapi43623android/api/lib/libfmodex${a}-4.44.64.so \
-DFMOD_INCLUDE_DIR=../fmodapi43623android/api/inc"; else
f='-UFMOD_LIBRARY -UFMOD_INCLUDE_DIR'; fi &&
cmake .. -DCMAKE_BUILD_TYPE=Release $f &&
make -j$c

STEP 6: Setup GZDOOM & Profit
copy your wads and iwads to ~/.config/gzdoom if you can't find it press CTRL+H to show hidden folders.
after that go back to the build folder/your terminal and type ./gzdoom
it should startup with a wad.
the wiki goes into how to install gzdoom into the system finder here I tested to make sure this step works and it does.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: @NinStar I like it gentle, then rough, then gentle again. Then I nap.