Skip to main content
Join
zipcar-spring-promotion

Plex docker gpu passthrough github

0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma These scripts empower users to create a Linux container or virtual machine interactively, providing choices for both simple and advanced configurations. The script will now: Designed to work alongside applications like Sonarr/Radarr and built with the aim of modularisation, parallelisation and scalability, each library you add has its own transcode settings, filters and schedule. Straightforward design and bulk actions mean getting things done faster. conf and appending the following: lxc. 6. Once that's done. You switched accounts on another tab or window. qcow2 100G on the host. To specify a fork, add -f <fork>. --net=host \. In the file, add the below lines, replacing appropriately. Latest stable Plex Media Server (Plex Pass) release from Arch Linux AUR. Issue: Plex is using CPU only, no GPU Platform: Docker container with GPU passthrough. 2. Stop the running container: docker stop plex. I've seen some talk on r/Plex about hardware transcoding using something like a p400 Quadro card. Mar 22, 2023 · Update Kernel to 6. To do this on Windows, you have to use the transparent network interface. (Optional) Set a schedule to run the script. yml file. AMD GPU docker mod. I downloaded the nvidia driver, and I added my GPU ID to plex and added "--runtime=nvidia" in extra paramaters. Linux Guest We're ready to begin creating our VM. This will open ash, Alpine's bash equivalent. To configure the driver for an LXC guest, the key pve_nvidia_passthrough_install_mode should be set to guest. On TN Core, the jail was given permissions to access data - external from the jail, (in my Feb 23, 2022 · I imaged my physical plex system, then restored the image into a VM. Jun 23, 2020 · I'm running Nvidia though. Jellyfin is a Free Software Media System that puts you in control of managing and streaming your media. Guide for complex plex setups. --name=plex \. You can find the Series Overview here. To specify a tag, add -t <tag>. Transcode to RAM. one Windows and one Linux, the caveat is you can only use one at a time. Sep 6, 2022 · I've been running Plex for a long time, but just recently added a GPU into the mix for hardware acceleration, and mainly to free up some CPU resource (thanks GPU price crash!). Configure Plex for Hardware Trying to get an NVIDIA GPU to work in my Plex container running in k3s, single node cluster, within a proxmox VM. 0-base nvidia-smi. This guide is a part of a series on Proxmox for Homelabs. /plex subdirectory: Place the Dockerfile in the plex subdirectory; Place the 50-gid-video file in the plex Plex Bare Metal vs Virtualized or Containerized. First, instead of the linuxserver/plex container, I pulled the official Plex image plexinc/pms-docker. Now you should see the nvidia info. " Delete the contents of the edit pane. But Plex always fails and unable to run. It's easy to use, it's awesome, and it's free! Build notes. Docker 19. Description. EDIT: Now fixed with the latest Plex Server v1. Enabled all the virtual options. vim docker-compose. If you have a hobby or home project or want to learn MLDS, my solution is perfect. Release tagged images of the components are also available on the Docker hub, tagged with their release version numbers in the format x. Unlike other containers the web interface port (default 443) needs to be set for the env variable KASM_PORT and both the inside and outside port IE for 4443 KASM_PORT=4443-p 4443:4443 Oct 27, 2020 · Intel quicksync working a treat on my SCALE box by adding the following to my docker-compose. See Linuxserver's Parameters for more information on parameters. It is an alternative to the proprietary Emby and Plex, to provide media from a dedicated server to end-user devices via multiple apps. My config looks almost the exact same except I dont pass through the device with the GPU ID. In the previous guide we covered how to setup the Servarr Stack with docker compose. Passing generic resources to Docker services. Always says that my GPU is unknown. The script defaults to installing the latest tagged image from the automaticrippingmachine ARM from DockerHub. In the left list, select PCI Host Device and select both PCI devices named NVIDIA Corporation (if you have another 2 PCI devices named NVIDIA Corporation, select those as well). This container uses Docker in Docker and requires being run in privileged mode. image: plexinc/pms-docker. --restart=always \. linuxserver/plex. I am not going to tell you how to setup your BIOS, too many BIOS. Create a disk image using qemu-img create -f qcow2 emugaming. Normally, passing a GPU to a container would be a hard ask of Docker - you’d need to: Figure out a way to pass through a GPU device to the container, Have the ( quite large) GPU drivers installed within the container image and kept up-to-date, and you’d. I'm picking up a quadro p2000 gpu to throw into the unraid The key pve_nvidia_passthrough_initramfs_update_options allows to configure the options of the initramfs command when modules are added. They aren't pretty, and it's a bit of a hack, but it works. Click on 'Add another Path, Port, Variable, Label or Device It’s basically the same way, this is from the official docker: Using the Unraid Nvidia Plugin to install a version of Unraid with the Nvidia Drivers installed and add --runtime=nvidia to "extra parameters" (switch on advanced view) and copy your GPU UUID to NVIDIA_VISIBLE_DEVICES. I have my Plex (Pass) server up and running on Unraid, and I have the "Enable hardware transcoding" selected in plex, but I am still not getting the May 5, 2020 · sudo docker run --gpus all nvidia/cuda:10. sh from this repository into the empty edit pane. When playing a video, status changes to using hw decoding, however it only displays a blank screen and time counter does not move. version: '2'. Note the following: The IDs of the video and audio Nvidia card (e. This is not the case for VMs. In your docuemntation, it says: Hardware acceleration users for Intel Quicksync will need to mount their /dev/dri video device inside of the container by passing the following command when running or creating the container: Click the name of the script, and then click "Edit Script. Or would I have to change to a VM, which I don't really want to do. and even though the base TrueNAS SCALE system only recognizes the GPU as a generic nvidia device, it still allowed me to pass it through to a VM. Jun 15, 2024 · Optional: Get information on passthrough card. SSH into the host, and manually run the start script. list , for example: Dec 15, 2021 · Docker doesn't even add GPUs to containers by default so a plain docker run won't see your hardware at all. 03 added native support for GPU passthrough. Linux Guest Make the GPU PCI device the Primary GPU; Start the VM again and login in to it via Remote Desktop. The nvidia-docker wrapper is no longer supported, and the NVIDIA Container Toolkit has been extended to allow users to configure Docker to use the NVIDIA Container Runtime. Before jumping from a bare-metal home server setup on Ubuntu 18. If the start script runs properly, the host monitors should go completely black, and the terminal should return you to the prompt. (2) If you prefer bash scripts, take a look at YuriAlek's series of GPU passthrough scripts and customize them to fit your needs. Running Super Micro X8DTL-iF with 2 x Xeon E5620. sh. swarmkit #1244. , 10de:2204 and 10de:1aef) - these are Feb 13, 2021 · Step 3: installing Nvidia Driver . /docker-setup. allow: c 29:0 rwm. Click on the toggle for 'advanced view'. Jun 18, 2022 · This will allow the VM to utilize PCI-Express passthrough. Start Plex container with hw support. A Plex container built from plexinc/pms-docker:plexpass with one minor addition to make hardware transcoding work on Synology - nzben/plex-synology Creating Windows 10 image. I keep getting errors about driver mismatches Install the Nvidia Driver plugin, install the driver and reboot. The syntax you used for the capabilities isn't correct - should be; capabilities: [gpu] so your full Docker Compose file (or Portainer custom template) should look something like this; Plex Pass. Docker for Intel Arc GPU: Intel Pytorch EXtension + Stable Diffusion web ui - Nuullll/ipex-sd-docker-for-arc-gpu Sep 8, 2019 · The issue is if you do not have a DRI device available but the PLEX section of the yaml file is looking to map it then the container fails to start. I have also made the nvidia runtime the default runtime for docker since docker-compose does not support setting runtime in v3. dll file from your host to C:\Windows\System32\ on Jun 6, 2024 · What I ended up with are some docker-compose files that enable docker containers on the QNap to actually use an Nvidia GPU. Make sure whatever board you have is powering the iGPU. only one VM can have access the GPU at a time. It prevents your OS from accessing them in any way and since Docker containers do not use PCIe passthrough but use the GPU via the OS you can't acces the GPU in the container while it's isolated. Next I followed This Guide to setting up the Plex container, with some small modifications. Take note of the installed GPU- ID on the driver page. I am trying to work out a way to see if the user has a device available or not and only add the mapping for it in the yaml file if it is available. PS> Reboot the system after removing the isolation so the driver loads. 5246 -- i7-1165G7 TigerLake GT2 [Iris Xe Graphics] segfault using lxc and passthrough GPU on proxmox 7. This allows other nodes to place services (swarm-managed container deployments) on your machine. I've followed some guides for doing GPU passthrough to a VM here: The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) : PCI Passthrough - Proxmox VE. Proxmox. A Plex Media Server docker container that enables VAAPI support for AMDGPU hardware accelerated decoding. In this post I will explain the needed steps to get Plex transcoding to work. Select: Nov 19, 2019 · Expected Behavior On a device with quicksync, if /dev/dri is correctly mapped, Plex should use hardware encoding. These images are automatically built and uploaded to the hub from the latest main branch of this repository. In case I forget to change the "last updated" date check the commit history. Mar 7, 2015 · Once nvidia-container-toolkit is installed on your host you will need to re/create the docker container with the nvidia container runtime --runtime=nvidia and add an environment variable -e NVIDIA_VISIBLE_DEVICES=all (can also be set to a specific gpu's UUID, this can be discovered by running nvidia-smi --query-gpu=gpu_name,gpu_uuid --format Jun 13, 2020 · malventano commented on Jun 13, 2020. Plex has the ability to fully use the NVIDIA GPU for video transcoding like a bare metal install. 2 LTS (including instructions for other hardware). Also, a Local Relay is installed (an NGINX forward-proxy) which forwards calls coming from Workers to PMS as if they were made locally. It works fine that way. So you have to run this command: docker run -d \. js app that communicates with the Orchestrator container over websockets. Click "Run Script" next to the script on the User Scripts page. You are the first person I see to also set the GPU as a request, not only a limit. Hi @inquam, 4. At the moment docker-compose. Head over to the Docker Tab, click on the your Plex container. Note: This list uses a different format for the PCI addresses id, 42:00. The problem I think that is occurring is issues with rootless docker controlling/accessing KVM/Qemu? The image below is the load screen of the closest to a running container I've beenable to achieve linuxserver/jellyfin. I passthrough a 3060ti to a gaming VM and the UHD770 to an Ubuntu Docker host, then on again to Plex and Frigate containers. The Plex Media Server enriches your life by organizing all your personal media, presenting it beautifully and streaming it to all of your devices. 5319_1. Docker. Dec 16, 2020 · Click Add -> PCI Device. 03. And I think I've gotten it working, here is the output of lspci : 00:00. Jun 19, 2017 · Issue description Hi all, I am running a plex media server inside a lxc container and would to utilize intel quick sync hardware encoding capabilities inside the container. allow: c <numbers found earlier> rwm. yml: devices: - /dev/dri:/dev/dri. Second, a few minor changes to the plex configuration section from the same guide: sudo docker create \. Any docker can have access to the GPU, and simultaneous with another docker. The only way to get around this is to have two GPUs. An idea is to have it available under "Runtime & Resources" -> "Resources The tooling provided by this repository has been deprecated and the repository archived. Turn on Show Advanced in the upper-right corner to expose advanced settings. inf_amd64 folder to C:\Windows\System32\HostDriverStore\FileRepository\ on your VM (This folder will not exist, so make sure to create it) Next you will need to copy C:\Windows\System32\nvapi64. 7. I have installed the latest Nvidia driver (manually used wget to download the executable to the machine and ran the installer) and the nvidia-docker stuff as specified in the quickstart section on the Github page. Proxmox LXC Intel Quick Sync Transcode for Plex - This guide's purpose is to allow an LXC Container access to an Intel iGPU for the Plex Docker with AMD/VAAPI support. --name=plex_hw \. Turn on GPU access with Docker Compose. Sep 3, 2023 · 4. Intel NUC GPU passthrough in Proxmox 6. Oct 10, 2020 · If you need to passthrough a GPU, follow this guide but install Ubuntu instead. follow the instructions given by Nvidia: NvidiaGraphicsDrivers - Debian Wiki. . cgroup2. Shutdown the container for now while we update its configuration. Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your /config folder and settings will be preserved) You can also remove the old dangling images: docker image prune. in detail: Add buster-backports to your /etc/apt/sources. Keep in mind if you specifically assign the GPU with the guid to containers you'll need to stop them before you start your passthrough VM. You might need the qemu-img package. Loose access to the GPU from the host platform as soon as you launched the docker gpu. Pre-built images of the plugins are available on the Docker hub. At a high level, getting your GPU to work is a two-step procedure: install the drivers within your image, then instruct Docker to add GPU devices to your containers at runtime. Pass that GPU ID into the Plex docker via the docker config in Nvidia Visible Devices parameter and also add --runtime=nvidia to Extra Parameters. We need to change the relevant permissions on our Quick Sync Device which we do by typing into the terminal window: chmod -R 777 /dev/dri. GPU passthrough and run in docker is really effortless, even you don't use vGPU, you could still have multiple VMs attached to the same GPU, e. GPU passthrough with an Intel CPU, AMD GPU, and Asus Motherboard on Ubuntu 22. 0. No version noted - specify a version of 2. Alternatively, you can also plug a monitor and you should see the VM there, passthrough the USB devices for keyboard and mouse and you have a fully working virtualized PC. It’s in the intel documentation for the gpu plugin and I preferred that route. . Usage AMD GPU passthrough to Ubuntu VM for Plex. I've been tweaking settings today to find the sweet spot, and learned that HDR Tone Mapping actually still uses my CPU rather than the GPU. Plex organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. Dec 22, 2021 · Q1. The prestart hook is responsible for making NVIDIA libraries and binaries available in a container (by bind-mounting them in from the host). QSV rocks. Although I know you may have multiple GPUs, since you are specifying by device ID, maybe try the above and at least see if it works. For further instructions, see the NVIDIA Container Toolkit documentation and Oct 10, 2020 · If you need to passthrough a GPU, follow this guide but install Ubuntu instead. Click Save Changes. Probably still applies for OTHER generic resources but I do not think this is the recommended way of doing this for Nvidia specific GPUs nowadays. devices. Test. Mar 2, 2024 · Using official Plex container, GPU is recognised in Plex (lists the exact device in Plex nowadays. (1. So, i am going to assume. lspci -v to list PCI devices. 25. Docker identifies your GPU by its Universally Unique IDentifier (UUID). One can also install NFD, such that the GPU (and other) feature tags are applied automatically. In the customized PMS server, Plex’s own transcoder is renamed and a shim is put in its place which calls a small Node. Setup passthrough (for Grub) Check your BIOS settings. g. Historically on Truenas Core; there were two versions of the app available to be installed as jails. In mine (among many changes), I had to choose primary GPU as CPU iGPU and dual monitor enabled. These steps are currently for NVidia GPUs. start the server. Reload to refresh your session. May 12, 2022 · The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) - This guide's purpose is to hand over control of a traditional GPU (e. Navigate to Settings > Server > Transcoder to access the server settings. 04. Host is linux. the RTX 3050 is recognized by nvidia-smi and Plex Yep this is possible, I do it with mine. On your host machine, go to C:\Windows\System32\DriverStore\FileRepository\ and copy the nv_dispi. Congratulations! At this point you are now able to add gpu flag to your docker container for use with Object Vision or maybe even Plex hardware transcoding Below are the different options for setting transcoding for Plex and Plex Pass:-. 1. ) using GPU passthrough. sh will brute force gpu passthrough even without hardware acceleration enabled with the plex server (cost you plex pass). If you can run it containerised personally I would to avoid the overhead of running a full VM just for Plex. add cpu: host,hidden=1,flags=+pcid to that file. Plex is a fantastic piece of software that when combined with a Plex Pass subscription allows for hardware-accelerated transcoding of video streams. To install default: sudo . 2. Jun 6, 2024 · The instructions included in the linuxserver/plex DockerHub container indicate that to use Nvidia hardware decoding, you must first install the docker-nvidia2 runtime from Nvidia. Apr 23, 2023 · Given how even the proxmox team recommends against running docker in lxc (they recommend a VM), and how docker in lxc on proxmox causes a myriad of other issues that we can't reproduce on any other system, we will not be chasing down and attempting to fix issues related to docker in lxc on proxmox. You just need to do GPU passthrough without binding the GPU to vfio and when you shutdown the VM it will become available to the system and Docker containers. Now that we have those numbers we can go ahead and pass it through to the LXC Containers, which you can do by editing /etc/pve/lxc/<id>. i915-GVTg_V5_4 is for some reason limited to 1 virtual device but i915-GVTg_V5_8 presents us with 2 available devices. Reply. Select the GPU Device, which you can find using it’s PCI address from before (42:00, in this example). Workers can be fired up and closed down as necessary, and are split into 4 types - Transcode CPU/GPU and Health Check CPU/GPU. io. The later steps in this doc should be checked and modified according to your setup (even if you have the same hardware) based on information you discover here. lxc. May 16, 2023 · Mindaboveall, I'm a newbie at Unraid, and just switched over from VM Virtual Box for my Plex server, for the reason of using my Radeon 7900 to transcode since VM Box doesn't allow GPU passthrough. Intel is a better bet than AMD here from what I've heard, at least with transcoding. You signed out in another tab or window. Shut down your VM in proxmox, edit your conf file, it should be here (note, change path to your VM’s ID) /etc/pve/qemu-server/100. For this, make sure you install the prerequisites if you haven't already done so. That would signify a problem with the VM libvirt configuration. Docker will expose these as 'resources' to the swarm. Add a PCI device to the VM (Add > PCI Device). Note: Currently, Plex doesn't use the nvidia decoder in a number of situations because apparently there are some quality issues. 15) Q2. sh -f automaticrippingmachine -t dev_build. You have mapped /mnt/user/Plex/ to the folder /path/to/plex/media inside the container. Current Behavior $ cat /etc/lsb-release DISTRIB_ID=Ubun The easiest solution is to put the Plex container directly on your LAN. I just noticed last week, and I've been trying to fix it but nothing I do seems to work. Copy the contents of Plex nvdec enable. To accomplish this, Plex should have access to /dev/dri/renderD128. Contribute to DockerPlex/dockerplex-compose development by creating an account on GitHub. Everything has been running rock solid for me since moving this over to the unprivileged LXC and I am also able to use the GPU for Plex transcoding on another LXC which wasn't possible when using VMs. Jun 24, 2024 · Select the your VM, click the bulb icon at the top left then at the bottom left corner, then click Add Hardware. Make sure the Media folder exists in /mnt/user/Plex/. Not applicable and/or pretty much useless if using docker stack deploy with compose file format. It will use similar user/group mapping techniques as those covered in bind mount your ZFS Datasets with LXC I have a single GPU (RTX 2080) in my unraid. 0-base nvidia-smi and you should see the same output as above. Nvidia. Thanks, team linuxserver. Run the docker run command below but appending ash at the end to enter the docker image. ) The next step will install an OCI prestart hook. 04 to one virtualised in a Proxmox node I found that many people seem Jun 13, 2024 · The first step is to identify the GPU (s) available on your system. docker run --runtime=nvidia --rm nvidia/cuda:9. Inside the Media folder you should see another folder called localhost. Create a docker-compose. First setup an unprivileged Ubuntu container with Plex Media Server installed. yml. As mentioned, you'll need nvidia-docker to do the same for nvidia cards though. you'll want to mount it and run. inside the VM then, I can install the proper drivers and keylase patch just fine. Go to unRAID web ui/Docker tab/left click Plex container and select 'edit'. These cards tick all the boxes for added to an unraid server, but just curious if a GPU can be passed through to Plex in docker. This container also requires an initial setup that runs on port 3000. Then check Hardware Encoding inside of the Plex install. nvidia-container-cli: device error: GPU-e4490dc0-f67c-d4c0-eaa7-1aeac316f59e: unknown device: unknown. Then inside that a bunch of folders with a single digit or letter. sudo systemctl restart docker. The intel examples only set it as a limit. Nvidia driver installed on host, nvidia docker installed and able to run nvidia-smi docker and see the card so everything seems to work. 1 with Plex and Docker. This container is packaged as a standalone Plex Media Server. y. Hardware: CPU=i7-6700K, GPU=GTX 1060 3GB So this is a new issue, it has worked in the past, although I'm not sure when it started. Compose services can define GPU device reservations if the Docker host contains such devices and the Docker Daemon is set accordingly. One for docker and one for the VM. Usage. Go to variable named 'TRANS_DIR' and set the value to /transcode. I've browsed through literally dozens of various 'please add this CLI flag to portainer' > 'we can't do CLI flags via API' threads, along with various other 'set default runtime=nvidia' > 'default runtime is broken in Compose v3' threads. docker exec -it plex /config/gpu. Delete the container: docker rm plex. Sep 9, 2019 · docker run --runtime=nvidia nvidia/cuda:9. Mar 24, 2021 · You signed in with another tab or window. which was easy to do from the portainer UI under the "Runtime & Resources" tab. 0" # or higher. So the feature request is to support --gpus options from the portainer UI with the new nvidia-container-toolkit and docker 19. This image uses Linuxserver/Plex as its base image to ensure that Plex stays up-to-date. conf. (Plex, and Plex Pass) - is this the same case for Scale, as i can only see one option to install under the container page. I'm at a point where Plex seems unstable, and I have new hardware I'm also confident my GPU is able to passthrough to Docker and be used rootless as I have other containers (Ollama, etc. You signed in with another tab or window. Installed nvidia-headless-460, nvidia-container-runtime, nvidia-modprobe, and nvidia-utils-460 via apt. VERSION=docker must be used. The examples in the following sections focus specifically on providing service containers May 25, 2024 · Running Plex in an Unprivileged LXC with Intel QuickSync Passthrough. By default, the role installs/configures the driver for the Proxmox Host. To determine its name, on you host, run the command: C:\Docker\Podcasts>docker network ls. Feb 13, 2019 · We want to provide our Plex container with access to one of the devices on our unRAID box. Heyo, Over the last two years I've gone from running Plex in Ubuntu Server to Ubuntu Server and Docker, to Proxmox as an LXC container with GPU passthrough without docker, while simultaneously expanding my library significantly. Inside the container take note of the id of the plex group. Jun 23, 2022 · To use Plex transcoding with Docker we need to passtrough the NVIDIA GPU to the Docker container. Select the device 0000:00:02. The basic setup adheres to default settings, while the advanced setup gives users the ability to customize these defaults. Usually an transparent network is already configured in docker for Windows. , RTX3060) off to a QEMU Virtual Machine running on your Proxmox host. What I ended up with are some docker-compose files that enable docker containers on the QNap to actually use an Nvidia GPU. I have a W680 based board running Proxmox. 0 is listed as 0000:42:00. 0 (this doesn't appear to change in my testing between different machines) and then from the MDev Type drop down note that you have two options. Start Docker Plex Container: Navigate to the directory containing your Docker Compose file and execute the following command to launch your Plex container: 5. yml not supported. We would like to show you a description here but the site won’t allow us. services: plex: container_name: plex. Mar 19, 2023 · I have also updated the docker compose part to the default docker compose as I had missed the newer go2rtc parts for the newer v12 version. I just use NVIDIA_VISIABLE_DEVICES=all since its the only card I have in my server. 2 (to support 13th gen Intel CPU) 5. As nothing is using the GPU the container will shutdown. This guide was created on May 3, 2023 and was last updated on May 7, 2023. Contribute to miklnk/plex-amd development by creating an account on GitHub. Once the Plex Media Server container is running, the following steps will turn on the Hardware Transcoding option: Open the Plex Web app. Options are displayed to users in a dialog box format. If there is a problem here, typically the command will hang. Proxmox GPU Passthrough on Unprivileged LXC Containers. There are basically two options for how to achieve this: (1) If you prefer a GUI approach, then follow the rest of this tutorial. Can't get Docker to pass through Nvidia GPU for Plex I've been beating my head against a wall for 2 days now. This guide focuses on modern versions of CUDA and Docker. Apr 4, 2022 · Alternatively, you can use Docker Compose to run the Plex container with bridged networking as below. Works fantastic. Did the IOMMU stuff and I am able to see the pcie card within the VM no problem. The following happens after about 10 minutes of transcoding on a plex server running in a docker container within LXC. After that, click Finish. z, corresponding to the branches Jun 17, 2019 · Using the existing docker-compose template as a guide: Ensure the QNAP device supports hardware encoding (QNAP 451+, for example) Modify the docker-compose file to: Reference a Dockerfile; Attach /dev/dri via a device statement; Make a . 0 or higher to utilize GPU passthrough with Docker Compose version: "2. sh (as i do) or you can modify it to your liking. To install from a different repo, tag: sudo . bt md ri je ii jf ck ti df um