I am new to programming, Debian and emacs.I tried to install packages of smex on emacs and I downloaded it from smex@marmalade but when I do the install step, emacs told me there is no match for package-install. Then I thought I should upgrade my emacs23 to 24 but I can not upgrade to emacs24 bysudo aptitude upgradeand I also do not understand other ways to install smex without using package-install.Could anyone help?
Emacs upgrade problem on Debian
debian;package management;emacs
If you install emacs24 explicitly, you should then be able to M-x package-install:sudo aptitude install emacs24On Wheezy (Debian 7), the simplest option to install Emacs 24 is to enable backports:sudo mkdir -p /etc/apt/sources.list.d/echo deb http://http.debian.net/debian wheezy-backports main | sudo tee /etc/apt/sources.list.d/wheezy-backports.listsudo apt-get updatesudo aptitude install -t wheezy-backports emacs24