In the MikTex website, they only give download information for ubuntu Focal Fossa. Using apt does not work either (uninstallable dependencies)
Asked
Active
Viewed 4,672 times
5
1 Answers
4
The following worked for me
- Register GPG key
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D6BC243565B2087BC3F897C9277A7293F59E4889
- Register the installation source
echo "deb http://miktex.org/download/ubuntu jammy universe" | sudo tee /etc/apt/sources.list.d/miktex.list
- Install Miktex
sudo apt-get update
sudo apt-get install miktex
- Finish the setup
sudo miktexsetup --shared=yes finish
- Here miktex was giving me some trouble because of the bin path, so run the following to fix it.
export PATH=$PATH:/home/<usr>/bin
or
export PATH=$PATH:<path-to-your-bin>
sudo apt install texlive-full
. – Archisman Panigrahi Jun 15 '22 at 10:51sources.list
. – Ray Jun 15 '22 at 10:58