Installing Alacritty  [Solved]

When you run into problems installing MX Linux XFCE
Message
Author
RaZorr
Posts: 10
Joined: Tue Mar 02, 2021 7:34 am

Installing Alacritty

#1 Post by RaZorr »

I am unable to install alacritty. After reading the error msg from

Code: Select all

cargo build --release
( same for

Code: Select all

cargo install alacritty
)

I believe the problem is due to the error msg during installing the prerequisites as mentioned in their installation instructions:

Code: Select all

apt-get install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev python3
This gives :

Code: Select all


$> sudo apt install cmake pkg-config libfreetype6-dev libfontconfig1-dev libxcb-xfixes0-dev python3
Reading package lists... Done
Building dependency tree
Reading state information... Done
cmake is already the newest version (3.13.4-1).                           
libfontconfig1-dev is already the newest version (2.13.1-2).              
libfontconfig1-dev set to manually installed.                             
libfreetype6-dev is already the newest version (2.9.1-3+deb10u2).         
libfreetype6-dev set to manually installed.                               
pkg-config is already the newest version (0.29-6).                        
python3 is already the newest version (3.7.3-1).                          
python3 set to manually installed.
Some packages could not be installed. This may mean that you have         
requested an impossible situation or if you are using the unstable        
distribution that some required packages have not yet been created        
or been moved out of Incoming.
The following information may help to resolve the situation:              

The following packages have unmet dependencies:                           
 libxcb-xfixes0-dev : Depends: libxcb-xfixes0 (= 1.13.1-2) but 1.14-2~mx19+1 is to be installed
                      Depends: libxcb-render0-dev but it is not going to be installed
                      Depends: libxcb-shape0-dev but it is not going to be
installed
E: Unable to correct problems, you have held broken packages.

My QSI

Code: Select all

System:    Host: <filter> Kernel: 4.19.0-6-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-amd64 
           root=UUID=<filter> ro quiet splash 
           Desktop: Xfce 4.14.2 tk: Gtk 3.24.5 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: MX-19.4_x64 patito feo October 21  2019 base: Debian GNU/Linux 10 (buster) 
Machine:   Type: Portable System: Dell product: Inspiron 3542 v: N/A serial: <filter> Chassis: 
           type: 8 serial: <filter> 
           Mobo: Dell model: 09V1VC v: A14 serial: <filter> UEFI: Dell v: A14 date: 05/23/2018 
Battery:   ID-1: BAT0 charge: 16.4 Wh condition: 16.4/41.4 Wh (39%) volts: 16.5/14.8 
           model: SMP-SDI2.8 DELL FW1MN31 type: Li-ion serial: <filter> status: Full 
CPU:       Topology: Dual Core model: Intel Core i5-4210U bits: 64 type: MT MCP arch: Haswell 
           family: 6 model-id: 45 (69) stepping: 1 microcode: 26 L2 cache: 3072 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 13567 
           Speed: 798 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 4: 798 
           Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
           Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, 
           STIBP: conditional, RSB filling 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:0a16 
           Display: x11 server: X.Org 1.20.10 driver: modesetting unloaded: fbdev,vesa 
           resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.3.4 
           compat-v: 3.0 direct render: Yes 
Audio:     Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:03.0 chip ID: 8086:0a0c 
           Device-2: Intel 8 Series HD Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:1b.0 chip ID: 8086:9c20 
           Sound Server: ALSA v: k4.19.0-6-amd64 
Network:   Device-1: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Dell 
           driver: ath9k v: kernel port: f040 bus ID: 06:00.0 chip ID: 168c:0036 
           IF: wlan0 state: up mac: <filter> 
           Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 
           v: kernel port: e000 bus ID: 07:00.0 chip ID: 10ec:8136 
           IF: eth0 state: down mac: <filter> 
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-1.6:7 chip ID: 0cf3:0036 
           IF-ID-1: docker0 state: up speed: N/A duplex: N/A mac: <filter> 
           IF-ID-2: veth095f03f state: up speed: 10000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 122.29 GiB (26.3%) 
           ID-1: /dev/sda vendor: Toshiba model: MQ01ABF050 size: 465.76 GiB block size: 
           physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> 
           rev: 1D temp: 43 C scheme: GPT 
Partition: ID-1: / raw size: 38.13 GiB size: 37.40 GiB (98.10%) used: 12.65 GiB (33.8%) fs: ext4 
           dev: /dev/sda7 
           ID-2: /home raw size: 175.32 GiB size: 172.32 GiB (98.29%) used: 54.80 GiB (31.8%) 
           fs: ext4 dev: /dev/sda8 
           ID-3: swap-1 size: 3.56 GiB used: 11.8 MiB (0.3%) fs: swap 
           swappiness: 15 (default 60) cache pressure: 100 (default) dev: /dev/sda9 
Sensors:   System Temperatures: cpu: 59.0 C mobo: 58.0 C 
           Fan Speeds (RPM): cpu: 0 
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb [arch=amd64] https://download.docker.com/linux/debian/ buster stable
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://deb.debian.org/debian/ buster-updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://deb.debian.org/debian/ buster non-free contrib main
           2: deb http://deb.debian.org/debian-security/ buster/updates non-free contrib main
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb https://mirror.genesisadaptive.com/mxlinux/mx/repo/ buster main non-free
           Active apt repos in: /etc/apt/sources.list.d/skype-stable.list 
           1: deb [arch=amd64] https://repo.skype.com/deb stable main
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 250 Uptime: 42m Memory: 3.76 GiB used: 2.43 GiB (64.7%) Init: SysVinit 
           v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 clang: 7.0.1-8+deb10u2 
           Shell: quick-system-in running in: quick-system-in inxi: 3.0.36 

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Installing Alacritty

#2 Post by JayM »

A web search finds a version meant for installing on Debian Stable. https://duckduckgo.com/?q=alacritty+deb ... &ia=images, first result.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

RaZorr
Posts: 10
Joined: Tue Mar 02, 2021 7:34 am

Re: Installing Alacritty

#3 Post by RaZorr »

Ahhh. I searched their github bug tracker, this forum, MX linux reddit and the web but with the keyword "alacrity mx linux" . So, close yet far. Thanks J man

( I will mark it solved after the installation finishes if u don't mind.)

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Installing Alacritty

#4 Post by JayM »

"J Man." I like that! You made my day. :biggrin:
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

RaZorr
Posts: 10
Joined: Tue Mar 02, 2021 7:34 am

Re: Installing Alacritty  [Solved]

#5 Post by RaZorr »

Sorry to keep bumping this thread but searching for alacritty debian also lead me to this

https://launchpad.net/~mmstick76/+archi ... /alacritty

which allows adding ppa (maintained by pop!_os team apparently). I know adding ppa is not really recommended but I will get auto update notifications. What's your thought on this? In the sense, which one is recommended. (Also just out of curiosity, which terminal do u use? default xfce-terminal?)

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Installing Alacritty

#6 Post by JayM »

See my thoughts on adding repos in a related thread: viewtopic.php?f=108&p=640208#p640208. Others will be online soon too and can provide their thoughts on this.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

RaZorr
Posts: 10
Joined: Tue Mar 02, 2021 7:34 am

Re: Installing Alacritty

#7 Post by RaZorr »

Ok, thanks mate. And this
RaZorr wrote: Sun Jun 13, 2021 5:01 am (Also just out of curiosity, which terminal do u use? default xfce-terminal?)

User avatar
JayM
Posts: 6796
Joined: Tue Jan 08, 2019 3:47 am

Re: Installing Alacritty

#8 Post by JayM »

Me? Yes.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.

User avatar
Stevo
Developer
Posts: 14842
Joined: Fri Dec 15, 2006 7:07 pm

Re: Installing Alacritty

#9 Post by Stevo »

Don't ignore the major issue of not being able to install libxcb-xfixes0-dev. You can't do it because you have the MX AHS version of its runtime library installed, but then the AHS repo has been disabled, so apt can't see the matching newer AHS dev package.

If you have it disabled on purpose because you're happy with AHS as it is, you can temporarily enable it just to compile a program.

RaZorr
Posts: 10
Joined: Tue Mar 02, 2021 7:34 am

Re: Installing Alacritty

#10 Post by RaZorr »

Thanks. Now I could resolve and build it myself.

Also, for anyone in the future,

Code: Select all

sudo apt install alacritty
does the job too :P

Code: Select all

just do apt search alacritty
before that incase of any doubts like whether it exists or the available version.

Post Reply

Return to “Installation”